10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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.
# cat test1
1559205600000,8474,NormalizedPortInfo,PctDiscards,0.0,Interface,BG-CTA-AX1.test.com,Vl111... (7 Replies)
Discussion started by: prvnrk
2. UNIX for Dummies Questions & Answers
We have a single threaded application which is restricted by CPU usage even though there are multiple CPUs on the server, hence leading to significant performance issues. Is it possible to merge / combine multiple CPUs at OS level so it appear as a single CPU for the application? (6 Replies)
Discussion started by: Dissa
3. Shell Programming and Scripting
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 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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
I have a set of requirement
1)cpu utilization on a server with pid and and process name.
It should display the above and also the script should have an option to record the cpu utilization for a given period of time
first part i can get with below commands
ps -eo pcpu,pid,user,args or... (5 Replies)
Discussion started by: NarayanaPrakash
6. Shell Programming and Scripting
I wrote a basic inotifywait shell script on my CentOS 5.6 x86_64 test server that syncs any deleted files in a directory.
inotifywait -m -e delete /home/user/test | while read file; do
# log event here
The script alone works fine. However, the... (4 Replies)
Discussion started by: TECK
7. IP Networking
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
8. UNIX for Advanced & Expert Users
We have a filesystem mystery on our hands. Given:
2 machines, A and Aa.
Machine Aa is the problem machine.
Machine A is running Ubuntu, kernel 22.214.171.124 #1 SMP Wed Feb 20 08:46:16 CST 2008 x86_64 GNU/Linux. Machine Aa is running RHEL5.3, kernel 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38... (2 Replies)
Discussion started by: mschwage
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)
Discussion started by: mahive
10. UNIX for Dummies Questions & Answers
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd