Ivorde Unix/Linux/Database/Web/Mail Forum

View unanswered posts
View active topics
It is currently Tue Feb 07, 2012 11:48 pm


News News of System administration

Site map of System administration » Forum : System administration

System administration, processes administration, jobs, cron, resources, limits, shells, ssh, telnet.

Message
 Post subject: How to check if ssh/http daemon listens on TCP port in FreeBSD using sockstat & lsof & netstat util
PostPosted: Mon Oct 17, 2011 4:27 pm 
How to check if ssh/http daemon listens on TCP port in FreeBSD using sockstat & lsof & netstat utilities

As compared to Linux, FreeBSD "netstat" doesn't show the process ID, but instead, the "sockstat" utility does.

Checking SSH and Apache TCP ports in Linux and FreeBSD using lsof utility:
# lsof -Pni :22 -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 17543 www 3u IPv6 0xc35d3cb0 0t0 TCP *:80 (LISTEN)
sshd ...

Read more : How to check if ssh/http daemon listens on TCP port in FreeBSD using sockstat & lsof & netstat util | Views : 260 | Replies : 0

Top
 Post subject: How to check if ssh/http daemon listens on TCP port in Linux using lsof & netstat
PostPosted: Mon Oct 17, 2011 4:17 pm 
To show listening sockets in Unix, the "netstat" utility can be used with different arguments, depending on the specific OS.

Man netstat:
Quote:
--numeric , -n
Show numerical addresses instead of trying to determine symbolic host, port or user names.
-e, --extend
Display additional information. Use this option twice for maximum detail.

-p, --program
Show the PID and name of the program to which each socket belongs.

-l, --listening
Show only listening sockets. ...

Read more : How to check if ssh/http daemon listens on TCP port in Linux using lsof & netstat | Views : 193 | Replies : 0

Top
 Post subject: FreeBSD - fuser checking processes that are using a filesystem
PostPosted: Thu Mar 18, 2010 1:58 pm 
fuser -- list IDs of all processes that have one or more files open

man fuser:
Quote:
DESCRIPTION
The fuser utility shall write to stdout the process IDs of processes that
have one or more named files open. For block and character special
devices, all processes using files on that device are listed. A file is
considered open by a process if it was explicitly opened, is the working
directory, root directory, jail root directory, ...

Read more : FreeBSD - fuser checking processes that are using a filesystem | Views : 760 | Replies : 1

Top
 Post subject: Windows XP Microphone volume drops unexpectedly / auto adjusts to low value
PostPosted: Thu Feb 18, 2010 11:24 pm 
Windows XP Microphone volume drops unexpectedly / auto adjusts to low value

On windows XP I have just met a very strange behavior: The microphone volume drops unexpectedly to a very low value making online conversations impossible. My guess was that Skype was to blame here and, after searching the web, I found an interesting post which explained how to "clean" skype of this inadequate behavior.

Open Windows Explorer (sounds very bad ...

Read more : Windows XP Microphone volume drops unexpectedly / auto adjusts to low value | Views : 1929 | Replies : 0

Top

Last 10 active topics


Apache, Nginx, Lighttpd and other web server software

No new posts Nginx + php-fpm setting php upload_max_filesize and other php values per vhost
View the latest post

Mysql

No new posts Mysql> how to store select Zulu / UTC timestamp in database
View the latest post

TCP/IP Networking

No new posts Quagga ospf neighbour stuck in ExStart/DROther state
View the latest post

FTP, Scp, Sftp, Rsync

No new posts How to disable anonymous access in samba 3
View the latest post

Package and Software Management

No new posts "checking for libnet_build_ip in -lnet... no"+"ERROR! Libnet library not found"
View the latest post

Server and Network Security

No new posts CentOS Install Nemesis packet crafting tool + Libnet
View the latest post

Tutorials for general Unix

No new posts Using curl to get the HTTP response from an HTTP server
View the latest post
No new posts Linux - Unable to login (and authentication succeeds) - File size limit exceeded
View the latest post
No new posts Linux/FreeBSD how to check ntp time synchronization
View the latest post

Memory, Storage, Backup and Filesystems

No new posts Mdadm - Linux software RAID
View the latest post

Login

Username:   Password:   Log me on automatically each visit  

Statistics

Statistics

Total posts 188 | Total topics 681 | Total members 827



News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC + 2 hours [ DST ]

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
DAJ Glass 2 template created by Dustin Baccetti

phpBB SEO