nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

List Services Linux Running

This is a discussion on List Services Linux Running within the Getting started tutorials forums, part of the Linux Getting Started category; Here is quick command that will list all services linux running: Show only listening sockets/ports and associated program who opend ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-12-2007, 04:40 PM
raj raj is offline
Contributors
User
 
Join Date: Jun 2005
Location: Hyderabad
Posts: 151
Rep Power: 4
raj is on a distinguished road
Default List Services Linux Running

Here is quick command that will list all services linux running:

Show only listening sockets/ports and associated program who opend the port:
Code:
netstat -tulpn
Redhat tool for listing all on services
Code:
chkconfig --list
Just for runlevel 3:
Code:
chkconfig --list | grep 3:on
Control your service
Redhat simple interface for configuring runlevels
Code:
ntsysv
Debian / Ubuntu Linux Runlevel configuration tool
Code:
rcconf
__________________
Raj
Linux rulz.
I have never turned back in my life ; I shall not do so today.. haha

Last edited by raj; 06-12-2007 at 04:41 PM.. Reason: mixup
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-28-2007, 11:40 PM
Junior Member
User
 
Join Date: Apr 2007
Posts: 4
Rep Power: 0
codekiller
Default Very nice.

This is very nice. Thanks for the good options!
Reply With Quote
  #3 (permalink)  
Old 03-27-2008, 05:04 PM
Junior Member
User
 
Join Date: Mar 2008
Location: East Sussex, UK
My distro: Red Hat
Posts: 2
Rep Power: 0
ukcommando is on a distinguished road
Default Top tips

Excellent summary of useful Linux commands for checking services! That was exactly what I needed for my own problem.
Reply With Quote
  #4 (permalink)  
Old 03-28-2008, 09:42 AM
Member
User
 
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power: 1
Tux-Idiot is on a distinguished road
Wink

Quote:
Originally Posted by ukcommando View Post
Excellent summary of useful Linux commands for checking services! That was exactly what I needed for my own problem.
vi /etc/services
vi /etc/rc.d/
vi /etc/init.d/
vi /path/to/service-startup-scripts/can-be/elsewhere/too
Reply With Quote
  #5 (permalink)  
Old 03-28-2008, 04:55 PM
Junior Member
User
 
Join Date: Mar 2008
Location: East Sussex, UK
My distro: Red Hat
Posts: 2
Rep Power: 0
ukcommando is on a distinguished road
Default

Quote:
Originally Posted by Tux-Idiot View Post
vi /etc/services
vi /etc/rc.d/
vi /etc/init.d/
vi /path/to/service-startup-scripts/can-be/elsewhere/too
Thanks, already know all that stuff though, I've spent some twenty years on Unix, but some of the new linux specific commands are new to me.
Reply With Quote
Reply

Bookmarks

Tags
debian , linux , redhat , service , ubuntu


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Monitor Running Services barrett.wendt@aquila.com Shell scripting 2 06-25-2007 10:24 PM
Enable or disable services in Debian Linux raj Linux software 1 01-25-2007 04:00 AM
Ubuntu Linux control startup services or scripts chimu Shell scripting 1 10-06-2006 02:17 AM
Which Linux network services pose a security threat? chimu Linux software 2 07-20-2006 07:59 PM
running .sh script linux jerry Shell scripting 1 06-17-2006 02:45 PM


All times are GMT +5.5. The time now is 03:09 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36