LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-29-2008, 11:44 PM   #1
romeo_tango
Member
 
Registered: Nov 2006
Distribution: Mint
Posts: 148

Rep: Reputation: 15
Disabling Services in Solaris


i have 2 box running Sun OS 5.10 and when i enter prstat -a command, the root users will have > 90 to 100 services on it.. so i list it using prstat -U0 (its zero for root UID) and here is the list :

Code:
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
 18573 root      194M  130M run     59    0   2:10:41 0.3% java/23
  9988 root     4896K 4616K cpu1    59    0   0:00:00 0.1% prstat/1
  2996 root      228M   77M sleep   59    0   5:48:08 0.1% java/17
 18234 root      168M  101M run     14   15   2:03:20 0.1% java/27
 19988 root       13M 8408K sleep   59    0   2:07:21 0.0% vtsk/5
   819 root       71M   29M run     29   10   2:20:53 0.0% java/21
 18572 root     2328K 1512K sleep   59    0   0:11:26 0.0% wrapper/2
  9031 root     8248K 7120K sleep   59    0   2:06:03 0.0% nscd/107
 10231 root      133M   52M sleep   59    0   1:19:55 0.0% java/20
   241 root     1200K  976K sleep   59    0   0:51:01 0.0% limstrerr/1
   733 root       65M   27M run     29   10   1:31:17 0.0% java/17
  2839 root       75M   49M sleep   49    0   0:26:25 0.0% gnome-terminal/2
  2419 root       72M   49M sleep   59    0   1:55:34 0.0% gnome-panel/1
 28774 root      103M   32M sleep   59    0   0:00:34 0.0% httpd/1
 10215 root     1320K 1080K sleep   59    0   0:00:00 0.0% imqbrokerd/1
   398 root     4896K 2536K sleep   59    0   0:00:38 0.0% automountd/2
   802 root     2224K 1408K sleep   29   10   0:00:00 0.0% wvCmdInvoker/1
   476 root       11M 7240K sleep   59    0   0:01:42 0.0% fmd/15
   261 root     2184K 1096K sleep   59    0   0:00:00 0.0% fjsvdrd/1
   258 root     2232K 1504K sleep   59    0   0:00:03 0.0% ttymon/1
   341 root     2528K 1808K sleep   60    0   0:00:00 0.0% evmond/1
   238 root     1824K 1424K sleep   59    0   0:00:16 0.0% syswarnd/1
   266 root     1280K  944K sleep   59    0   0:00:30 0.0% utmpd/1
   264 root     5408K 4344K sleep   59    0   0:01:46 0.0% inetd/4
   263 root     2304K 1640K sleep   59    0   0:00:00 0.0% ttymon/1
   339 root     1472K  920K sleep   59    0   0:00:00 0.0% evhandsd/1
Total: 107 processes, 441 lwps, load averages: 28.95, 23.18, 24.71
well, I already check a few of them but still there are many i can't find the manual / description in the google. so could somebody help me...

what are these services and can I disable them?
- limstrerr
- wvCmdInvoker
- fmd
- fjsvdrd
- evmond
- evhandsd

in my other box, there is this process

Code:
1 root     2384K 1424K sleep   59    0   6:01:44 0.2% init/1
What is the init doing there listed?

Is it normal if the root user running hundreds process or more?

Last question is can i disable the gnome-panel or its X desktop while the server still running without restarting the server ?

Thanks.
 
Old 04-30-2008, 02:16 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Don't confuse services, daemons and processes.

"svcs -p" will display all the services and the corresponding processes.

Most of these processes you are using almost no RAM / CPU so why do you want to disable them ?

init is the parent of all other processes under Unix. (man init)

I'm not sure about what you want to do with gnome-panel, which is part of the graphic environment. You can disable the whole JDS/X11 thing and fallback to a text only console.
 
Old 04-30-2008, 03:10 AM   #3
romeo_tango
Member
 
Registered: Nov 2006
Distribution: Mint
Posts: 148

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlliagre View Post
Don't confuse services, daemons and processes.

"svcs -p" will display all the services and the corresponding processes.
Quote:
Most of these processes you are using almost no RAM / CPU so why do you want to disable them ?

init is the parent of all other processes under Unix. (man init)
oh sorry, what i mean is why the init could listed there, while in the other box is not displayed..

Quote:
I'm not sure about what you want to do with gnome-panel, which is part of the graphic environment. You can disable the whole JDS/X11 thing and fallback to a text only console.
yap that's what i would like to ask.. can I disable the X11 thing without restarting the machine..

sorry i'm still at beginner level for solaris system.. that's why im asking so many..

thanks
 
Old 04-30-2008, 04:08 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by romeo_tango View Post
oh sorry, what i mean is why the init could listed there, while in the other box is not displayed.
That just means init is more active on that machine, no big deal.
Quote:
yap that's what i would like to ask.. can I disable the X11 thing without restarting the machine..
Sure:
Code:
/usr/dt/bin/dtconfig -d
/usr/dt/bin/dtconfig -kill
or
Code:
svcadm disable cde-login
 
  


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
Disabling Services spx2 Linux - Server 7 01-03-2008 06:36 AM
Disabling Services? brianthegreat Ubuntu 3 07-19-2006 06:00 PM
Disabling PCMCIA Services irfanhab Slackware 1 05-10-2004 09:58 AM
Disabling Startup Services loadedmind Slackware 7 11-07-2003 09:36 PM
disabling services on RH 8.0 juanb Linux - General 2 03-19-2003 07:26 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 02:59 AM.

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