first i need check which process are those consuming more than 40% cpu AND 10 days older and then need to fix them ---------- Post updated at 01:29 AM ---------- Previous update was at 01:11 AM ----------
can someone help me with the command
Hello venky456,
So this is how I would deal with this kind of situation during the period of issue.
Check the server's memory and cpu first with commands as follows. To get memory details: To get CPU details: This will run 20 times in difference of 1 second or so, you could increase the values as per your convenience. Solution 1st: Solution 2nd: This will provide you all processes and you could sort it as per your need for CPU, memory etc and could find out the culprits.
There are other ways too, but you could take it as a starting point. Let me know in case of any queries.
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)
Hi there. I was looking at the output from running top and for short amounts of time, when I see all the process running and add up the values in the %CPU column the value exceeds 100% (I just add them quickly in my head). I assume that if I were to add up all my processes in the entire list,... (2 Replies)
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Ok, so I am using the Top command on my linux VPS to try and see the processes using the most CPU %.
I hit the P to sort by CPU % but it wants to sort them from lowest to highest (ascending). My Telnet-SSH screen is only about 60 rows high so the processes with the highest CPU % usage are at the... (6 Replies)
Hi All,
Can anybody knows, how to check the CPU usage in percentage for a particular process along with its user and PID?
Thanks in advance!! (3 Replies)
Hi,
I can't seem to make sense of this. My wait time is showing really high but vmstat's and topas are showing normal usage.
ps aux
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 9961810 5680.7 0.0 448 384 - A Dec 16 6703072:12 wait
... (2 Replies)
I am facing issue related to performance of one customized application running on RHEL 5.9. The application stalls for some unknown reason that I need to track. For that I require some tool or shell scripts that can monitor the CPU usage statistics (what we get in TOP or in more detail by other... (6 Replies)
Hello experts,
we have input files with 700K lines each (one generated for every hour). and we need to convert them as below and move them to another directory once.
Sample INPUT:-
# cat test1
1559205600000,8474,NormalizedPortInfo,PctDiscards,0.0,Interface,BG-CTA-AX1.test.com,Vl111... (7 Replies)
Discussion started by: prvnrk
7 Replies
LEARN ABOUT SUSE
cpufreq-set
cpufreq-set(1)cpufreq-set(1)NAME
cpufreq-set - A small tool which allows to modify cpufreq settings.
SYNTAX
cpufreq-set [options]
DESCRIPTION
cpufreq-set allows you to modify cpufreq settings without having to type e.g. "/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed" all
the time.
OPTIONS -c --cpu <CPU>
number of CPU where cpufreq settings shall be modified.
-d --min <FREQ>
new minimum CPU frequency the governor may select.
-u --max <FREQ>
new maximum CPU frequency the governor may select.
-g --governor <GOV>
new cpufreq governor.
-f --freq <FREQ>
specific frequency to be set. Requires userspace governor to be available and loaded.
-r --related
modify all hardware-related CPUs at the same time
-h --help
Prints out the help screen.
REMARKS
Omitting the -c or --cpu argument is equivalent to setting it to zero.
The -f FREQ, --freq FREQ parameter cannot be combined with any other parameter except the -c CPU, --cpu CPU parameter.
FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the value with the wanted unit name, without any space (fre-
quency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000).
On Linux kernels up to 2.6.29, the -r or --related parameter is ignored.
FILES
/sys/devices/system/cpu/cpu*/cpufreq/
/proc/cpufreq (deprecated)
/proc/sys/cpu/ (deprecated)
AUTHORS
Dominik Brodowski <linux@brodo.de> - author
Mattia Dongili<malattia@gmail.com> - first autolibtoolization
SEE ALSO cpufreq-info(1)Mattia Dongili 0.1 cpufreq-set(1)