09-20-2006
cpu, memory and virtual memory usage
Hi All,
Does anyone know what the best commands in the UNIX command line are for obtaining this info:
current CPU usage
memory usage
virtual memory usage
preferably with date and time parameters too?
thanks
ocelot
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. UNIX for Dummies Questions & Answers
Is there a way for me to record cpu and memory usage over time without buying and installing new software? I know I can use top to see the current state, but can I record that data somehow? (2 Replies)
Discussion started by: cshih31
2 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. UNIX for Dummies Questions & Answers
Can any one suggest me, how to get the last week's (Last n weeks) average CPU utilization and Memory usage? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies
6. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
7. UNIX for Advanced & Expert Users
Hi all,
When you monitor the CPU and memory usage, how often do you do it ? Do it too often or too rarely will both cause the problem. So does anyone have hand-on experience ?
And for my case, the requirement says that when CPU usage is above X% or memory usage is above Y%, I should reject... (5 Replies)
Discussion started by: qiulang
5 Replies
8. HP-UX
Hi all,
Is there any command which shows the virtual memory usage of a particular process in HP-UX machine.
I have tried with ps, top but could not get what I want.
Kindly provide me a solution.
Thanks in Advance
ARD (4 Replies)
Discussion started by: ard
4 Replies
9. Shell Programming and Scripting
what is the best way to get the memory and cpu usage of a process on any system?
this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix.
ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies
10. Shell Programming and Scripting
All
I am writing a script to generate an email when cpu and memory usage is high for 5 min continuously
help me urgent
I wrote below scritpt
LOAD=75.00
CPU_LOAD= 'sar -P all 300 5 |grep 'Average.all* '| awk -F " " '(print 100.0 -$NF)''
IF };
ECHO "pLEASE CHECK YOUR PROCESS ON YOUR... (1 Reply)
Discussion started by: anil529
1 Replies
RUSH(8) Gnurush RUSH(8)
NAME
rush - a restricted user shell
SYNOPSIS
rush [-F STRING] [-f DIR] [-n NUM] [--forward] [-H]
rush {-v | -h | --usage}
DESCRIPTION
GNU rush is a restricted user shell (R-U-SH), designed for sites that provide only limited remote access to their resources. This could be
Subversion or Git repositories, upload sites accessible only by Scp, or similar services.
Using a sophisticated configuration file, GNU rush gives the administrator complete control over the command lines that users are able to
execute, as well as over the access to and usage of system resources. Usually virtual memory, CPU time, etcetera, are determined by this
system wide configuration.
OPTIONS
-c COMMAND
Specify a command to run.
-C TEST | --security-check=TEST
Configure security checks for the main configuration file.
-d NUM | --debug=NUM
Set debugging level.
--show-default
Disply the built-in default configuration.
-t | --test | --lint [FILE]
Run in test mode. The optional argument FILE determines the location of an alternate configuration file to be used. In case also
the option '-c' is specified, then rush will emulate normal processing for the given command, but will not actually execute it.
-u NAME | --user=NAME
Emulate shell access by the user NAME. The option '--test' is implied. The use of this option is allowed only for root and in
conjunction with the further option '-c'.
-v | --version
Display program version.
-h | --help
Display a short help message.
--usage
Display a concise usage summary.
SEE ALSO
The full documentation for GNU Rush is maintained as a Texinfo manual. If the info and rush programs are properly installed at your site,
the command
info rush
should give you access to the complete manual.
See also rushlast(1) and rushwho(1).
AUTHOR
This text was written by Mats Erik Andersson for the Debian project, since the original source supplies a documentation only in the form of
a GNU Texinfo manual.
GNU Rush 1.7 December 2010 RUSH(8)