9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am trying to write a script which will email a backup report from the server,
The contents of the email will be:
---------------------- ---- -- ---- ----- ---- ------- ---- ------- -------
| | | | |Chnge|Wkng| | | | |
| ... (6 Replies)
Discussion started by: Bdoydie
6 Replies
2. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
3. Shell Programming and Scripting
I am doing a basic script to check if services are disabled, and I was wondering how to change to colours for PASS and FAIL to green & red respectively.
#!/usr/bin/bash
clear
TELNET=`svcs -a | grep telnet | awk '{print $1}'`
if
then
RESULT=PASS
else
RESULT=FAIL
fi... (3 Replies)
Discussion started by: detatchedd
3 Replies
4. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
5. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
6. Shell Programming and Scripting
hi all,
how do i change the colour of text if i am using printf ?? in my script i am printing out response times from the server and i wanted to print out the max response time in red.
ta. (1 Reply)
Discussion started by: cesarNZ
1 Replies
7. HP-UX
Hello,
I'm a newbie to HPUX so please be patient :)
I'm looking at top and it only shows 3 of the 8 cpu's: 0 4 and 5. But the box has 8 cpu's according to the 'machinfo' command.
There are 4 processes using 10% "%CPU" each but it shows the box as 90% idle...???
Also, I don't see any... (16 Replies)
Discussion started by: mj62mj62
16 Replies
8. Shell Programming and Scripting
Hello friends.
I realize that my question is naive, but I really want to know, why one of my scripts is in white colour (I mean letters in the body are white) while 3 residuary are multicoloured. I'm asking because I have a little problem with this particular script. It's absolutely the same as... (1 Reply)
Discussion started by: MarGur
1 Replies
9. Shell Programming and Scripting
Good day all
I am looking for a way to change colours in a text file that get tailed.
I have tried using tput, however this does not seem to work. terminal type is using putty and vt100 emulation.
Any ideas. :rolleyes:
Thanks
J (6 Replies)
Discussion started by: jhansrod
6 Replies