10 More Discussions You Might Find Interesting
1. HP-UX
Hello All,
I am using netstat on HP-UX to retrieve the established network connections on my host. Can anyone please confirm how can I retrieve the PID and program name as well for these connections? These are available from the netstat version on Windows but I don't see PID and program name to... (10 Replies)
Discussion started by: Happy83
10 Replies
2. Shell Programming and Scripting
Hi
I am trying to create a suspend script which will suspend the system only if it cant find port 9982 four or more times OR 192.168.0.:microsoft-ds ESTABLISHED in the output of netstat -t.
I am struggling with the 9982 bit, googling etc I came up with
if netstat -t|grep -P "(9982){4,}" ... (15 Replies)
Discussion started by: bilboNIX
15 Replies
3. Shell Programming and Scripting
Hi,
I can write sh script for Linux platform
I run:
netstat -an | grep -P '\:'38''| grep ESTABLISHED
but result:
# netstat -an | grep -P '\:'38''| grep ESTABLISHED
tcp 0 0 172.16.1.107:383 172.16.1.81:49981 ESTABLISHED
tcp 0 0... (8 Replies)
Discussion started by: ostapv
8 Replies
4. Programming
I have a C program called server.c which is supposed to get the pid of another program, client.c, and send a signal to it, but I'm not sure how to do it. Server.c is first run in the background then client is run in the foreground.
I tried
pid_t pid;
pid = system("pidof -s client.c");... (3 Replies)
Discussion started by: busdude
3 Replies
5. AIX
Had a bizzare problem last night with one of our tools running on an AIX server that has not come up before. The tool has been in use for over a year without this problem showing up.The tool basically does this: -Kick off a background task and record the PIDGo and do a bunch of other taskswait for... (4 Replies)
Discussion started by: steadyonabix
4 Replies
6. UNIX for Advanced & Expert Users
Hi
I have an IBM AIX 5.3 64Bit running with 64bit application (Kernel runs on 64bit also).
I changed the maximum proccesses per user to the maximum.
Currently the pids of proccesses in the system using 5 digits (<100000).
Is it possible to make the system use pids bigger then 4500000? I need it... (6 Replies)
Discussion started by: idana
6 Replies
7. AIX
Hi All,
I searched other threads and could not find any relevant post about this.
I searched for process 0 in SUN OS and could find the sched/swapper process listed.
root 0 0 0 Apr 25 ? 0:06 sched
but i couldnt not find the swapper process (PID 0) in AIX. Is that... (4 Replies)
Discussion started by: quintet
4 Replies
8. UNIX for Advanced & Expert Users
I have a netstat command set up with awk to show which ports my box is listening on. The -p switch shows the PID/program name, too, which ordinarily would be very handy. However, several entries show up as just "-" for the program name which makes it hard to identify what is keeping the port open.... (2 Replies)
Discussion started by: Bilge
2 Replies
9. UNIX for Dummies Questions & Answers
Hello guys,
How to shut down a port number in AIX.
May be first I need to find out what is the process ID of that process that listens to this particular port.. Is there any command to find a process ID from the port number other than "lsof".
thanks (1 Reply)
Discussion started by: solaix14
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I use the following cmd to view list of clients connected to my HPUX server
netstat -na |grep
Can anyone help me with the UNIX cmds to find list of clients connected to my HPUX server including idle time.
Any help will be highly appreciated.
Thanks
MH (2 Replies)
Discussion started by: mhbd
2 Replies