![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cpu, memory and virtual memory usage | ocelot | UNIX for Dummies Questions & Answers | 4 | 12-01-2008 07:57 AM |
| How can I get memory usage or anything that show memory used from sar file? | panithat | HP-UX | 1 | 03-31-2008 01:26 PM |
| CPU usage and memory usage | mansoorulhaq | High Level Programming | 1 | 08-09-2007 05:55 PM |
| Monitor CPU usage and Memory Usage | Gajanad Bihani | High Level Programming | 2 | 03-09-2005 07:35 AM |
| Memory usage in the box | ST2000 | Filesystems, Disks and Memory | 2 | 01-03-2003 02:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I'm setting up a cron job to collect memory usage (total, used, available) information.
I'm planning to run the following in the cron sript: free -k | grep ^M | awk -F' ' '{print $1","$2","$3","$4 }' >> /data/mem_report.txt Is there a better way (another command) to get more accurate information? I will be taking the collected info back to my Linux administrators. So I just want to be make sure I'm getting accurate information. Thank you. :-) |
|
||||
|
LStat? Other tools like LStat?
If there is something ready then why don't use it? It depends what you want to get. If you wish minimal CPU/memory consumption with some command that is executed let say once a day - then your solution is probably a good one. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|