December 19, 2014, 10:06:48 AM

News : LinuxSolved.com Linux Help Community Forum..


Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Linux Installation Support / Re: how to run 32 bit app in 64 bit linux.
« Last post by Naba_das on October 25, 2014, 02:22:14 PM »
Hi,

Please install 32 bit libraries in 64 bit linux . Then install the run 32 bit app in 64 bit linux.

22
I think he is then supposed to add it in cron to get executed regularly ?
23
there are many you may try anyone ...
here is one
#!/bin/bash

ADMIN=yermail@yerdom.com
ALERT=90
df -H | grep -vE 'abc:/xyz/pqr | tmpfs |cdrom|Used' | awk '{ print $5 " " $1 }' | while read output; do
usep=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 )
echo $usep
partition=$(echo $output | awk '{ print $2 }' )
if [ $usep -ge $ALERT ]; then
  echo  "Alert: Almost out of disk space $usep"
  df -H | mail -s "Alert: out of disk space $usep"  $ADMIN
fi
done



you may try this or this one ...



message=$(awk -v ALERT="$ALERT" '
    NR == 1 {next}
    $1 == "abc:/xyz/pqr" {next}
    $1 == "tmpfs" {next}
    $1 == "/dev/cdrom" {next}
    1 {sub(/%/,"",$5)}
    $5 >= ALERT {printf "%s is almost full: %d%%\n", $1, $5}
')
if [ -n "$message" ]; then
  echo "$message" | mail -s "Alert: Almost out of disk space" "$ADMIN"
fi




24
Linux Kernel / Re: ERROR In DNS Configuration
« Last post by aktiwari4u on September 21, 2014, 04:38:08 PM »
You May Search the forum for dns configuration...
25
Os Talk / Re: Dreckig OS Commands
« Last post by aktiwari4u on September 21, 2014, 04:36:38 PM »
The best thing is that no need to recruit joker now ............My Friend is Here .....
26
Linux Audio Support / Re: sound problem with suse
« Last post by aktiwari4u on September 21, 2014, 04:33:10 PM »
Best Of Luck ......:)
27
Hi ,
I need a script and detailed procedure how to send an email automatically when the disk space is full in my Linux machine.
I have some scripts taken from Internet but I don't how to configure my email in the Linux box. Please help me
28
Os Talk / I want develop a linux distro
« Last post by cuizhaohua on September 03, 2014, 07:37:05 AM »
HI, all:

I am a Chinese. I want  develop a  linux distro  with  ARM arch for  edu  and some CRM based webbrowser .  like  ras Pi. 

but I think ras pi is slow for work .  and It is not very like mini PC for work and edu.

I want some knowledge about ARM  like ras Pi or have other product like ras PI but quicker.  and How can I finished my work !

Thanks for any help!
29
Linux Audio Support / Re: sound problem with suse
« Last post by OnArkTheMoon on August 21, 2014, 03:44:52 AM »

Hopefully there will be some winter. I'll keep my eyes open for a post. Sounds like

fun.
30
Os Talk / Re: Dreckig OS Commands
« Last post by OnArkTheMoon on August 21, 2014, 03:44:23 AM »

Can anyone tell me the start time and location.. It would be my first venture so

not sure how the handicap would work
Pages: 1 2 [3] 4 5 ... 10