![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| To remove new line character | shihabvk | UNIX for Advanced & Expert Users | 7 | 06-18-2009 08:44 AM |
| bash while read how to remove \n character | papasj | Shell Programming and Scripting | 3 | 05-25-2009 10:24 PM |
| Remove last character of a term | Raynon | Shell Programming and Scripting | 6 | 03-20-2008 06:04 AM |
| Trying to remove single character from a line | Iz3k34l | UNIX for Dummies Questions & Answers | 5 | 07-07-2007 02:29 PM |
| Remove Last Character of Line | danhodges99 | Shell Programming and Scripting | 4 | 05-21-2003 10:30 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi,
I am trying to capture the server load and email me automatically. This is how it goes svrload=`uptime|awk '{ print $11 }'` Now this returns a value say "1.39,". How do i strip the "," from the returned value and convert this into a whole number to compare with a threshold? Thanks Murali |
| Bookmarks |
| Tags |
| perl, perl regex, regex, regular expressions |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|