10 More Discussions You Might Find Interesting
1. AIX
Hello!
We have an AIX box (6.3), we are looking for a way to get list of logged in users and their IP. The issue we have is running who -ub shows hostname and we are wanting to get the ip. Any suggestions of ideas? Thanks in advance for any help! (4 Replies)
Discussion started by: entropy1980
4 Replies
2. Shell Programming and Scripting
Hello again gentlemen.
I would like to make a shell script to 'optimize' a plain text full of IPs.
Let's suppose to have this text file:
1.192.63.253-1.192.63.253
1.0.234.46/32
1.1.128.0/17
1.116.0.0/14
1.177.1.157-1.177.1.157
1.23.22.19
1.192.61.0-1.192.61.99
8.6.6.6
I want to... (2 Replies)
Discussion started by: accolito
2 Replies
3. Shell Programming and Scripting
Hello gentlemen.
I would like to create a shell script (no perl or python please) to generate a list with those rules.
Let's suppose I've this text file:
a@A:soss(z)1.1.1.1
Opt!o:2.1.9.55
Azxk<ji>rC211.111.9.0-251.11.34.9
d=211.9.1.3
O.Oox 2.1.2.4-51.9.1.33... (6 Replies)
Discussion started by: accolito
6 Replies
4. Shell Programming and Scripting
Please tell me the script, if any user ping my pc so leave his ip, mac and other identity on my pc. (1 Reply)
Discussion started by: abhihot95
1 Replies
5. Shell Programming and Scripting
Given a range of IPs similar to this:
"212.63.183.19","212.63.183.19","3560945427","3560945427","CN","China"
"217.7.143.0","217.7.143.0","3641151232","3641151232","CN","China"
"218.0.0.0","218.31.255.255","3657433088","3659530239","CN","China"... (13 Replies)
Discussion started by: SkySmart
13 Replies
6. IP Networking
hi,
i want to know how can i get my gateway ips in the network,what i want is the ip of my neighbors in subnet( computers that are directly connected to my computer via lan or wlan), how can i get these information?
thanks in advance. (2 Replies)
Discussion started by: gongotar
2 Replies
7. Shell Programming and Scripting
Hi
Can someone give me a shell script that can ping a range of IPs and return IPs which are not pingable.
Range for example say 192.168.0.1 to 192.168.0.50 and whichever are not pingable then return the IP.
Thanks for your help (3 Replies)
Discussion started by: tannu
3 Replies
8. Shell Programming and Scripting
This Expect script provides expect with a list of IP addresses to Cisco IPS sensors and commands to configure Cisco IPS sensors. The user, password, IP addresses, prompt regex, etc. have been anonymized. In general this script will log into the sensors and send commands successfully but there are... (1 Reply)
Discussion started by: genewolfe
1 Replies
9. Solaris
i want to postinstall script in ksh. but it seems postinstall script runs only in "sh". commands like set -A (for arrays) which are perfectly acceptable in ksh gives an error when run on postinstall script even when i give ksh as interpreter.
So is it like postinstall script in solaris packaging... (1 Reply)
Discussion started by: vikashtulsiyan
1 Replies
10. UNIX for Dummies Questions & Answers
For my kickstart install I use an NFS share on another machine in order to install the packages. For the most part, all configuration required after each time I reimage is set up in the kickstart file, but this one portion is giving me issues. I'm trying to mount an NFS share in the kickstart post... (0 Replies)
Discussion started by: Colton
0 Replies
cmhaltserv(1m) cmhaltserv(1m)
NAME
cmhaltserv - halt a service from the high availability package halt script
SYNOPSIS
cmhaltserv [-v] service_name
DESCRIPTION
cmhaltserv is used only in the high availability package halt script to halt a service.
To stop a package service, the running package halt script must be running as superuser(UID=0), or as a user with access policy of
FULL_ADMIN allowed in the cluster configuration file. See access policy in cmquerycl(1) or cmmakepkg(1).
If any part of a package is marked down, the package halt script is executed as part of the recovery process.
This command sends a SIGTERM signal to the PID and the corresponding process group of the monitored service. If this signal is caught by
the running application, it is up to the application to ensure that the processes will be terminated.
Options
cmhaltserv supports the following options:
-v Verbose output will be displayed.
RETURN VALUE
cmhaltserv returns the following values:
0 Successful completion.
1 Command failed.
EXAMPLES
To halt the service db1, do the following:
# Halt the service db1
cmhaltserv db1
This line should only be executed within a package halt script.
AUTHOR
cmhaltserv was developed by HP.
SEE ALSO
cmmakepkg(1m), cmquerycl(1m), cmmodnet(1m), cmrunserv(1m).
Requires Optional Serviceguard Software cmhaltserv(1m)