LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-04-2007, 09:08 PM   #1
antlers
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware 12.0
Posts: 27

Rep: Reputation: 15
How can i check the system running services?


which command can check the running services?
slackware 10.2 kernel 2.6.13
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-04-2007, 10:55 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, you can use 'top' or just a simple 'ps -u $USER' for user and 'ps -A' for all processes.
 
Old 03-05-2007, 03:49 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Here's a little script which checks for running process from a list of
common sevices:
http://distro.ibiblio.org/pub/linux/...-Utils/rccheck

Just place in /usr/local/bin, make executable and run.
 
Old 03-05-2007, 07:40 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
...and, for a list of what's running
Code:
ps -ef | pg
(or, if you don't like pg, more instead).
 
Old 03-09-2007, 09:57 PM   #5
antlers
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware 12.0
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks guys.I see.
 
Old 02-07-2012, 03:51 PM   #6
k0rn
LQ Newbie
 
Registered: Jan 2012
Distribution: Slackware 13
Posts: 10

Rep: Reputation: Disabled
Wink

the rccheck program has moved to http://distro.ibiblio.org/pub/linux/...cts/Sys-Utils/ , and works well.
 
Old 02-02-2023, 12:53 PM   #7
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Quote:
Originally Posted by H_TeXMeX_H View Post
Well, you can use 'top' or just a simple 'ps -u $USER' for user and 'ps -A' for all processes.
I think he asked 'services' but not "processes"
 
Old 02-02-2023, 12:54 PM   #8
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Quote:
Originally Posted by antlers View Post
which command can check the running services?
slackware 10.2 kernel 2.6.13
The simple questions is: nobody knows
 
Old 02-02-2023, 12:55 PM   #9
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Quote:
Originally Posted by antlers View Post
Thanks guys.I see.
what you see?
 
Old 02-02-2023, 01:09 PM   #10
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 564

Rep: Reputation: Disabled
Running services would be started by executables in your /etc/rc.d/ folder
ls -lh /etc/rc.d/ | grep rwx
another is
find <directory> -executable -type f
 
Old 02-02-2023, 01:10 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Some people like to answer questions asked more than 15 years ago...

Last edited by Didier Spaier; 02-02-2023 at 01:11 PM.
 
2 members found this post helpful.
Old 02-02-2023, 02:16 PM   #12
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 774

Rep: Reputation: 242Reputation: 242Reputation: 242
Quote:
Originally Posted by Didier Spaier View Post
Some people like to answer questions asked more than 15 years ago...
People still have the same questions. By "services", he probably means servers/listening sockets.

Code:
ss -l -t -u -p
 
Old 02-02-2023, 02:44 PM   #13
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Quote:
Originally Posted by yvesjv View Post
Running services would be started by executables in your /etc/rc.d/ folder
ls -lh /etc/rc.d/ | grep rwx
another is
find <directory> -executable -type f
OP did not ask how to start services but how to check the service status.
 
Old 02-02-2023, 02:52 PM   #14
lattimro
Member
 
Registered: Jul 2021
Distribution: SOLARIS/BSD-like, some Debian-like, some Arch-like, some GENTO-like, some RH-like, some slacky-like
Posts: 383

Rep: Reputation: Disabled
Quote:
Originally Posted by jayjwa View Post
People still have the same questions. By "services", he probably means servers/listening sockets.

Code:
ss -l -t -u -p
wrong! OP did not ask about listening ports

Code:
/etc/rc.d/rc.elogind
Usage: /etc/rc.d/rc.elogind start|stop|restart
However there is a draft yet (15 years!) for "newbies":
PHP Code:
https://docs.slackware.com/howtos:slackware_admin:service 
mainly <status> is the [missing] function OP refereed to.

Cheers!

Last edited by lattimro; 02-02-2023 at 03:11 PM.
 
Old 02-07-2023, 11:40 AM   #15
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I suggest that we let this long dead topic die.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO Check, Start and Stop Services GNewbie MEPIS 9 08-22-2012 10:09 PM
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
How can I check what services I run? tcv Linux - Newbie 11 07-22-2006 10:59 AM
how 2 get ports having services currently running 00it45 Linux - General 5 03-11-2004 07:59 AM
what services should i have running? jamesgf Linux - General 3 04-18-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration