Sponsored Content
Full Discussion: Script for CPU usage -Linux
Top Forums Shell Programming and Scripting Script for CPU usage -Linux Post 302855283 by techy1 on Thursday 19th of September 2013 01:45:54 PM
Old 09-19-2013
download the stress utility

Use this as a reference.

Linux Stress Test - memory, disk, and cpu testing with StressLinux
 

10 More Discussions You Might Find Interesting

1. HP-UX

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... (3 Replies)
Discussion started by: alert0919
3 Replies

2. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

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

3. UNIX for Advanced & Expert Users

Script to access multiple linux servers to get system details such as CPU usage

Hi Is there any shell script that accesses multiple linux servers to get details such as CPU usage, RAM used etc. The access of the servers must be parallel not serial in the sense it must ping all the servers at a time to get information.The script has to be triggered from a host system and get... (7 Replies)
Discussion started by: mssrivatsa
7 Replies

4. UNIX for Dummies Questions & Answers

100% CPU usage linux commands

hi guys the application guy told me that his server was executing linux commands with some delay...let's say 1-2-3 seconds.... checking the system we found that when the delay took place CPU usage for that command in top was 100%.... this happens for bash, chkconfig, w, df, du among others in... (2 Replies)
Discussion started by: karlochacon
2 Replies

5. Shell Programming and Scripting

Identify CPU usage on the Linux server

We are using linux server. We have below script running on the crontab and it send the alert if the cpu usage is above 90%. My question is, the below script tells the CPU usage for one CPU or all CPU in the server? sar 1 1 | sed '$!d' | awk '{printf("%d", $8)}' > $SAR_LOG Please let me... (4 Replies)
Discussion started by: govindts
4 Replies

6. Shell Programming and Scripting

Please help me to monitor cpu usage vmstat in Redhat Linux .

Hi , Please some one help me How to write a shell script to monitor cpu usage vmstat in Redhat linux . Thanks, (4 Replies)
Discussion started by: saanvi
4 Replies

7. HP-UX

Perl script limit cpu usage

Hi Experts, I am executing multiple instances(in parallel) of perl script on HP-UX box. OS is allocating substantial amount of CPU to these perl processes,resulting higher cpu utilization. Glance always shows perl processes are occupying majority of the CPU resource. It is causing slower... (2 Replies)
Discussion started by: sai_2507
2 Replies

8. Shell Programming and Scripting

Shell script for logging cpu and memory usage of a Linux process

I am looking for a way to log and graphically display cpu and RAM usage of linux processes over time. Since I couldn't find a simple tool to so (I tried zabbix and munin but installation failed) I started writing a shell script to do so The script file parses the output of top command through... (2 Replies)
Discussion started by: andy_dufresne
2 Replies

9. Shell Programming and Scripting

Shell script to calculate the max cpu usage from the main script

Hi All, I have a script which does report the cpu usuage, there are few output parameter/fields displayed from the script. My problem is I have monitor the output and decide which cpu number (column 2) has maximum value (column 6). Since the output is displayed/updated every seconds, it's very... (1 Reply)
Discussion started by: Optimus81
1 Replies

10. Shell Programming and Scripting

CPU usage script

Hello Friends, I am trying to create a shell script which will check the CPU utilization. I use command top to check the %CPU usage. It give s me below output Cpu states: CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 0.31 9.6% 0.0% 6.1% 84.3% 0.0% 0.0%... (3 Replies)
Discussion started by: Nakul_sh
3 Replies
ffcfstress(1)						      General Commands Manual						     ffcfstress(1)

NAME
ffcfstress - constant force stress test for force-feedback devices SYNOPSIS
ffcfstress [-d <device>] [-u <update rate>] [-f <frequency>] [-a <amplitude>] [-s <strength>] [-x <axis>] [-A] [-o] DESCRIPTION
ffcfstress stress tests constant non-enveloped forces on a force feedback device. It simulates a moving spring force by applying a fre- quently updated constant force effect. Beware, the stress test may damage your device! OPTIONS
At least one option is required. -d <device> The device to test (by default /dev/input/event0). -u <update rate> The update rate in Hz (25 by default). -f <frequency> The spring center motion frequency in Hz (0.1 by default). -a <amplitude> The spring center motion amplitude, between 0.0 and 1.0 (1.0 by default). -s <strength> The spring strength factor (1.0 by default). -x <axis> absolute axis to test (default: 0) [0 = X, 1 = Y, 2 = Z, 3 = RX, 4 = RY, 5 = RZ, 6 = WHEEL] -A switch off auto-centering -o Dummy option, useful when all defaults should be used. SEE ALSO
ffmvforce(1), fftest(1), jstest(1). AUTHOR
ffcfstress was written by Oliver Hamann. This manual page was written by Stephen Kitt <steve@sk2.org>, for the Debian GNU/Linux system (but may be used by others). It was last modified for ffcfstress dated February 15, 2002. ffcfstress March 8, 2009 ffcfstress(1)
All times are GMT -4. The time now is 08:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy