- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Linux box
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 09:37 PM
09-06-2004 09:37 PM
Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2004 10:31 PM
09-06-2004 10:31 PM
Re: Linux box
or read /proc/meminfo
From Grafical Interface there are many tools for monitor a linux box, one of these is gkrellm (http://www.gkrellm.net/). This tool monitor CPU, MEM, FileSystem, Network, etc....
By!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 12:02 AM
09-07-2004 12:02 AM
Re: Linux box
Some sort of scripting to pipe the top output and get only service memory usage informations.
As like,
top -d 1 -n 100 -f /tmp/topoutput
It will contain 100 process informations there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 02:45 AM
09-07-2004 02:45 AM
Re: Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2004 06:27 PM
09-07-2004 06:27 PM
Re: Linux box
top -n 1 -b -p `pidof -s PROCESSNAME` | tail -2 | mail -s "Top Information for process PROCESSNAME" your@e-mail.address
top -n 1 -b -p blabla
---------------------
-n 1: top runs once then exits
-b: for dumb terminals, don't use escaps (for colouring terminal for example)
-p Number: wich PID to show (this switch could be used up to 20 times per top
`pidof -s PROCNAME`: searches for the first process with the name PROCNAME and returns its PID
tail -2
-------
-2: show the last 2 lines of output. if you are using more then one -p argument at top, you should increase the value to -3, -4, ...
mail -s "blabla" e-mail
-----------------------
-s "blabla": the subject for the e-mail
e-mail: your e-mail address