8 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Say I have this line:
read -p "Enter 3 numbers: " num1 num2 num3;
I want to write a while loop that repeatedly asks for input if the number of inputs entered is not equal to 3.
I don't know the correct command to find the number of inputs entered. Help, please? (4 Replies)
Discussion started by: jejemonx
2. UNIX for Dummies Questions & Answers
Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only?
I want to confirm whether I am having a CPU-bound problem or not.
This is a single-CPU VMware machine.
$ sar 5 20
Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
3. High Performance Computing
I am a bit inexperienced with administering queueing programs. I installed Torque (a PBS derivative) on a Linux cluster and it is running well. There is one annoying problem though: users can run massively parallel jobs and serial jobs too. Almost all users do a mix of the two. I... (0 Replies)
Discussion started by: gnuplot
4. Shell Programming and Scripting
I am writing a script in which i need find the total size of all the directories that are present in a directory which are owned by a particular user.
I will explain in details
i have a dir DIR1 in which i have 5 dir's DIRA DIRB DIRC DIRD DIRE.
DIRA DIRC DIRE are owned by "eswar" i... (2 Replies)
Discussion started by: firestar
5. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
6. UNIX for Dummies Questions & Answers
:confused:i would like to know how can i determine
the total/approx memory used by a single user. Example Top output is below
top - 20:00:50 up 24 days, 2:48, 2 users, load average: 0.43, 0.40, 0.37... (3 Replies)
Discussion started by: cromohawk
7. Shell Programming and Scripting
When running top on linux redhat machine , i see that i have 16gb of memory
in my machine and about 14.5gb of memory are in use:
Mem: 16395780k total, 14970960k used, 1424820k free, 370264k buffers
Swap: 4192956k total, 25824k used, 4167132k free, 12029400k cached
How can i... (3 Replies)
Discussion started by: yoavbe
8. UNIX for Dummies Questions & Answers
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd