12-02-2008
how can I find cpu usage memory usage swap usage and logical volume usage
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 use interact command like top smh or sam
I need use general command without interactive
thanks
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. Shell Programming and Scripting
Hi,
How do i get the swap space used and cpu usage for a particular application ?
thanks
una (2 Replies)
Discussion started by: una
2 Replies
3. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 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. 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
6. UNIX for Advanced & Expert Users
Hi,
By using time command we can determine the execution time of a process or command.
bash-2.04$ time ls -l
total 0
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1
-rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2
real 0m0.002s
user 0m0.000s
sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. UNIX for Dummies Questions & Answers
Let's say i have 20 users logged on Server. How can I know how much memory percent used each of them is using with system time in each user? (2 Replies)
Discussion started by: roy1912
2 Replies
9. Red Hat
Hi ,
There is one following alert .
Message : cdm:Average (2 samples) swap memory usage is now 91%, which is above the warning threshold (90%)
Here is my findings.
Output of TOP command in Linux server.
top - 14:21:44 up 6 days, 4:48, 1 user, load average: 2.55, 2.06,... (3 Replies)
Discussion started by: Maddy123
3 Replies
10. Red Hat
Hi
the version is RedHat 6.2 (Oracle DB server)
I don't know why swap memory usage keeps increasing...
I used to check swap memory usage Free -m and another way.
total used free shared buffers cached
Mem: 32183 31861 322 ... (3 Replies)
Discussion started by: tom8254
3 Replies
LEARN ABOUT DEBIAN
systemd-cgtop
SYSTEMD-CGTOP(1) systemd-cgtop SYSTEMD-CGTOP(1)
NAME
systemd-cgtop - Show top control groups by their resource usage
SYNOPSIS
systemd-cgtop [OPTIONS...]
DESCRIPTION
systemd-cgtop shows the top control groups of the local Linux control group hierarchy, ordered by their CPU, memory and disk I/O load. The
display is refreshed in regular intervals (by default every 1s), similar in style to top(1).
Resource usage is only accounted for control groups in the relevant hierarchy, i.e. CPU usage is only accounted for control groups in the
cpuacct hierarchy, memory usage only for those in memory and disk I/O usage for those in blkio. systemd(1) by default places all services
in their own control group in the cpuacct hierarchy, but not in memory nor blkio. If resource monitoring for these resources is required it
is recommended to add blkio and memory to the DefaultControllers= setting in /etc/systemd/system.conf (see systemd.conf(5) for details).
Alternatively, it is possible to enable resource accounting individually for services, by making use of the ControlGroup= option in the
unit files (See systemd.exec(5) for details).
To emphasize this: unless blkio and memory are enabled for the services in question with either of the options suggested above no resource
accounting will be available for system services and the data shown by systemd-cgtop will be incomplete.
OPTIONS
The following options are understood:
-h, --help
Prints a short help text and exits.
-p
Order by control group path name.
-t
Order by number of tasks in control group (i.e. threads and processes).
-c
Order by CPU load.
-m
Order by memory usage.
-i
Order by disk I/O load.
-d, --delay=
Specify refresh delay in seconds (or if one of ms, us, min is specified as unit in this time unit).
--depth=
Maximum control group tree traversal depth. Specifies how deep systemd-cgtop shall traverse the control group hierarchies. If 0 is
specified only the root group is monitored, for 1 only the first level of control groups is monitored, and so on. Defaults to 2.
KEYS
systemd-cgtop is an interactive tool and may be controlled via user input using the following keys:
h
Shows a short help text.
SPACE
Immediately refresh output.
q
Terminate the program.
p, t, c, m, i
Change ordering of control groups by path, number of tasks, CPU load, memory usage resp. IO load.
+, -
Increase, resp. decrease refresh delay.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
systemd(1), systemctl(1), systemd-cgls(1), top(1)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
systemd 10/07/2013 SYSTEMD-CGTOP(1)