Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Need Help with KornShell script
Name: ckrieger1 Date: February 12, 2004 at 13:04:18 Pacific OS: unix CPU/Ram: ?
Comment:
I need a KornShell script that will, among all the users currently logged on to the system, find a slot of one hour that contains the most number of users. I know how to list all the users currently logged on but how do I do anything with the times that are listed? Please help, thanks.
Name: mdhmi21 Date: February 15, 2004 at 12:42:45 Pacific
Reply:
Have your script run in a loop and run the following -- date and 'w'. Exit your script after you are done collecting your metrics. Write another little script to parse the output and create a pretty chart.
Mark
0
Response Number 2
Name: cbailey33 Date: February 15, 2004 at 18:49:30 Pacific
Reply:
Here is a short script that may help. It is very simplistic and you can concatenate the echo output to a log file if you wish.
Summary: Hello, Can some one tell me what was wrong with my script? I have file called list cat list s001 v s010 h s999 s ================== here is my script: for i in `cat list` do store=`echo $i |awk '{prin...
Summary: Hello all, I'm having a problem with one part of my KSH script. Below is the script and OutPut. What I would like to do next is combine field 1 "example = Accoskypager" with the other Accoskypager bu...
Summary: I have a .txt file which contains several lines of text. I need to write a script program using grep or any other unix tool so as to detect part of the text(words) between / / that begin with the symb...