12-07-2010
You can certainly run pfiles on processes you own. You only need to be root (or to have the rbac required privilege) for processes run by a different user.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
Can someone instruct me on how to change the listening port for ftp ( or any tcp service) from 21 to another port number? Thanks in advance..
-AJ (3 Replies)
Discussion started by: jacobsa
3 Replies
2. UNIX for Dummies Questions & Answers
Is there a way to change a privileged TCP port (say 80) to a nonprivileged one.. (9 Replies)
Discussion started by: sssow
9 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1012-1020 (which are reserved ports according to the IANA. Lsof does not identify these. One server has all these on and one server just has 1017.
*.1023 ... (3 Replies)
Discussion started by: csross
3 Replies
4. Solaris
Hello,
I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1013-1023 (which are reserved ports according to the IANA. Lsof does not identify these. I rebooted the server and they went off, but this morning I saw they were all back on again. Any... (1 Reply)
Discussion started by: csgonan
1 Replies
5. Solaris
please provide info. @ how to open ports in solaris?
and how to check that which port assigns with which process. (5 Replies)
Discussion started by: ajitkraj
5 Replies
6. Red Hat
How can I have ports that are listening without processes being associated with them?
root@ldv002 # netstat -ltnup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0... (2 Replies)
Discussion started by: Padow
2 Replies
7. Solaris
hi guys,
may i know the exact steps to open a port in solaris.i have some rough idea - which is adding the port number in /etc/services.
but i am not sure the correct conventions, steps or any other steps.
kindly advise.thanks guys ! (1 Reply)
Discussion started by: cromohawk
1 Replies
8. Solaris
Hi can someone Explain me about Solaris Ports orientation, Like which all ports OS uses and which all is left for applications? (7 Replies)
Discussion started by: Sojourner
7 Replies
9. Ubuntu
I ran 'sudo netstat -ntpl' and got the following without PID
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:38977 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:34253 ... (3 Replies)
Discussion started by: tt77
3 Replies
LEARN ABOUT DEBIAN
upscli_splitaddr
UPSCLI_SPLITADDR(3) NUT Manual UPSCLI_SPLITADDR(3)
NAME
upscli_splitaddr - split a listening address into its components
SYNOPSIS
#include <upsclient.h>
int upscli_splitaddr(const char *buf, char **hostname,
int *port)
DESCRIPTION
The upscli_splitaddr() function takes a pointer to the raw UPS definition buf and returns pointers to dynamically allocated memory in
upsname and hostname. It also copies the port number into port.
FORMATTING
A listening address definition is specified according to this format:
<hostname>[:<port>]
Definitions without an explicit port value receive the default value of 3493.
MEMORY USAGE
You must free(3) the pointer hostname when you are done with it to avoid memory leaks.
RETURN VALUE
The upscli_splitaddr() function returns 0 on success, or -1 if an error occurs.
SEE ALSO
upscli_fd(3), upscli_get(3), upscli_readline(3), upscli_sendline(3), upscli_splitname(3), upscli_ssl(3), upscli_strerror(3),
upscli_upserror(3)
Network UPS Tools 05/22/2012 UPSCLI_SPLITADDR(3)