10-30-2008
Not sure why netstat would do that as it is based on kstat so that normal user can use it. However it uses arp internally so check if the permissions of `which arp` got screwed up. On my sparc system it is
xxxx% ls -l /usr/sbin/arp
-r-xr-xr-x 1 root bin 10252 Aug 16 2007 /usr/sbin/arp
xxxx% ls -l `which netstat`
-r-xr-xr-x 1 root bin 83456 Aug 16 2007 /usr/bin/netstat
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
recently on my Sun Solaris 8 server this error message appeared:$ netstat -i
> ip open: Permission denied
> can't open mib stream: Bad file number
>
The server was rebooted recently and this error has only popped up since then. Any ideas? (2 Replies)
Discussion started by: gerwhelan
2 Replies
2. Programming
I have faced a problem that I use 2 file streams in a function and try to fopen() both files. Then I can't get the file descriptor. But if I just use 1 file stream and 1 fopen(), then i can get the file descriptor. Does anybody know why this happens? Thanks in advance.
... (2 Replies)
Discussion started by: ivancheung
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
From Where I can download MIB for Linux 7.2.
Please help.
Regards,
Sumit Roy (4 Replies)
Discussion started by: sumitroy
4 Replies
4. HP-UX
HI all,
please let me know where i can find the HP OS system MIB file.?
Thanks in advance.
Rgds,
Jagadeesh. (2 Replies)
Discussion started by: bjagadeesh
2 Replies
5. AIX
Hi there all..
I got SAP running on AIX systems.
Now I got SNMP running and it is collecting info.
But I want the SAP MIB to be running so I can also retrieve SAP info.
How can I neable it on AIX?
When I do a MIB walk on SAP it isnt showing anything.
Thanx in advance! :) (1 Reply)
Discussion started by: draco
1 Replies
6. UNIX for Dummies Questions & Answers
# netstat -a > /test/a
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
getnameinfo failed
command is working fine (as i get output in file /test/a)
# dig -x 10.xxx.xxx.xxx
; <<>> DiG 9.3.3rc2 <<>> -x 10.203.xxx.xxx
;; global... (4 Replies)
Discussion started by: crackthehit007
4 Replies
7. Programming
Hi,
I am trying to write a C++ code to write a file with the similar data between two input files.Input files will be command line arguments.Following is the code ,I am able to open & create files but getting errors during comparison & there is no explicit error message I am getting please let me... (1 Reply)
Discussion started by: forstudy3
1 Replies
8. Shell Programming and Scripting
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies
9. Shell Programming and Scripting
Hi gurus
I have two csv files that are outputs. The file contains data similar to
s.no,number1,number2,date1
--------------------------------
1, a123,482.29,11/28/07 13:00
2,a124,602.7,9/24/07 14:00
3,a125,266.93,10/9/07 16.48
4,a126,785.15,11/14/07 16:08
<file 2>
s.no name... (2 Replies)
Discussion started by: inkyponky
2 Replies
10. UNIX for Advanced & Expert Users
can someone please help me out with this.
why do i keep getting a "No Such Instance..." error message?
The MIB file is in the proper directory and with the proper permissions. What could be wrong? I restarted snmpd already.
Thank you.
snmpwalk -v2c -c AH$%FJY ferenty01.blah.net... (0 Replies)
Discussion started by: SkySmart
0 Replies
LEARN ABOUT DEBIAN
aa-unconfined
AA-UNCONFINED(8) AppArmor AA-UNCONFINED(8)
NAME
aa-unconfined - output a list of processes with tcp or udp ports that do not have AppArmor profiles loaded
SYNOPSIS
aa-unconfined
DESCRIPTION
aa-unconfined will use netstat(8) to determine which processes have open network sockets and do not have AppArmor profiles loaded into the
kernel.
BUGS
aa-unconfined must be run as root to retrieve the process executable link from the /proc filesystem. This program is susceptible to race
conditions of several flavours: an unlinked executable will be mishandled; an executable started before a AppArmor profile is loaded will
not appear in the output, despite running without confinement; a process that dies between the netstat(8) and further checks will be
mishandled. This program only lists processes using TCP and UDP. In short, this program is unsuitable for forensics use and is provided
only as an aid to profiling all network-accessible processes in the lab.
If you find any bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
netstat(8), apparmor(7), apparmor.d(5), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-UNCONFINED(8)