I'm not sure about the logs, but you can run "ps -ef | cut -c42-100 | sort -nr | head" - this will give you the top 10 processes that took most CPU time, example :
Hello all,
I would like to ask for an advice on how to deal with the following scenario.
Every now and then, our ERP system creates an interface text file with the following file format - XORD????.DLD where ???? is a sequence number. We can have 1 or more XORD files created in an hour. ... (9 Replies)
I am programatically trying to find CPU usage for a particular process. I am writing a C program for this. I am not sure if my approach is good at all. I first of all find the PID using getpid() method. Then I call top -f <filename> and then parse to reach the PID row. I then try to read the 10th... (3 Replies)
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)
Hello all. I've built a SAMP server on Solaris 10 using Apache 2.2.9 and PHP 5.2.6
For the most part everything seems to be working except when I post form data, Apache causes the CPU to max out. Sometimes the script will complete about 40 seconds later. Other times I have to stop Apache to get... (4 Replies)
Hi,
Does anyone know how to check which process has been used the most CPU between certain time period?
say I have noticed CPU spike happend between 1:00 to 1:30
now it is 3:00 o'clock already. Is there anyway to find out what process/PID use the most CPU then?
Thanks a lot (3 Replies)
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)
I'm running on Solaris 10, and I have a script that's running on several machines. Basically, what it's doing is:
* tail -f | grep one or more log files into a temp file
* Every minute or so, copy that temp file to a second temp and zero the first
* Sed through the 2nd temp to pull out a user... (2 Replies)
Discussion started by: Rorgg
2 Replies
LEARN ABOUT DEBIAN
xsysinfo
XSYSINFO(1x) Debian GNU/Linux XSYSINFO(1x)NAME
xsysinfo - Display Linux kernel parameters in graphical form
SYNOPSIS
xsysinfo [-help] [-update n] [-[no]title] [-[no]labels] [-[no]loadavg] [-[no]load] [-[no]mem] [-[no]swap] [-[no]smp]
DESCRIPTION
Xsysinfo is an X application to display some Linux kernel parameters in graphical form. It is like a mix of top, free and xload with the
difference that the values are shown in form of a horizontal bar. The displayed values are: CPU load average, CPU load, memory and swap
sizes (details see below).
OPTIONS -update n
Set update rate to n milli-seconds
-title Show title string
-notitle
Don't show title string
-labels
Show gauge labels
-nolabels
Don't show gauge labels
-loadavg
Show CPU load average value
-noloadavg
Don't show CPU load average value
-load Show CPU load value
-noload
Don't show CPU load value
-smp Show separate SMP loads
-nosmp Don't show separate SMP loads.
-mem Show memory info
-nomem Don't show memory info
-swap Show swap info
-noswap
Don't show swap info
-help Display options
DISPLAY
Xsysinfo display the following values:
CPU load average
CPU load average between 0.000-8.000. The gauge's bar is subdivided into segments, where one segment represents a load value of 1.0.
The bar's full length is automatically scaled, depending on the displayed value.
CPU load
percentage CPU load time to CPU idle time subdivided in three segments: user load, system load and nice load. On an SMP system the
-smp option replaces the single total load meter with a separate meter for each processor.
Memory The memory gauge's bar is subdivided into two segments with the amount of physical memory, which is used by processes on the left
and physical memory used for the page and buffer cache on the right. The length of the whole bar, which is the sum of these two val-
ues, shows the amount of physical memory currently used by the system.
Swap The percentage of swap space used by the system to total amount of swap space.
AUTHORS
Xsyinfo is written by Gabor Herr <herr@iti.informatik.th-darmstadt.de> and currently maintained by Ronald Wahl <ronald.wahl@informatik.tu-
chemnitz.de>.
This manual page was created by Roland Rosenfeld <roland@spinnaker.de> for the Debian GNU/Linux system (but may be used by others).
Debian Project December 2005 XSYSINFO(1x)