10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello, do you know any clever way to get information whether certain domain name become avaialble for registration from bash script?
Would be good to check for the availability like every 100miliseconds, i want to catch domain. (1 Reply)
Discussion started by: postcd
1 Replies
2. Shell Programming and Scripting
#!/usr/bin/bash
sub1 () {
for ((i=0;i<10;i++))
do
export a=$i;
echo "value of a is $a";
sleep 1
done
}
sub1 &
sub2 () {
for ((j=0;j<10;j++))
do
echo "value of a is $a";
sleep 1
done
} (5 Replies)
Discussion started by: Arun_Linux
5 Replies
3. 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
4. Programming
Hello
They have ordered to me that makes several small utilities in C/C++ for the servants, among them a small program in C/C++ to generate a file HTML with the groups of that servant and in addition that is the corresponding users of that group.
For example of a group:
Group: Sys Members:... (2 Replies)
Discussion started by: cybermeis
2 Replies
5. Shell Programming and Scripting
Hi,
I'm new to Unix scripting so I'm hoping someone can help me out.
I have trawled the web trying to find an answer to this but have not been able to find out anything.
I'm trying to create a script that when supplied with a hostname, will find out information about the remote machine.
... (2 Replies)
Discussion started by: Coleyman
2 Replies
6. 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
7. UNIX for Dummies Questions & Answers
How to obtain list of users found in /home/ and append it to a file. (7 Replies)
Discussion started by: bobby36
7 Replies
8. HP-UX
Hi,
Does anyone know an easy way of getting the memory usage on a UNIX box? I basically want to find the total % available/in use. Running vmstat gives me 'avm' and 'free' but come in bytes and not percents. Didn't see a switch in sar that just gave me the memory stats similar to Sun's -r... (4 Replies)
Discussion started by: jonesin
4 Replies
9. UNIX for Dummies Questions & Answers
I'd want to know the command to obtain the lrecl number of a file. (1 Reply)
Discussion started by: leroyj
1 Replies
10. UNIX for Dummies Questions & Answers
Anyone help ! From where can I download a free version of FreeBSD ?
I am trying to teach myself this OS, have all the documentation needed, but am short the OS itself.
If anyone can send me a link, I would be most appreciative ! (3 Replies)
Discussion started by: treborwallace
3 Replies