LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2010, 03:49 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,773
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
questions about "htop" details


When I run htop on my laptop, I see several things that I don't understand.

Can someone please explain why I might see these things?

Can someone tell me how to change what is going on?

I understood the system-V-init approach. I'm still working to wrap around the "upstart" approach to system startup.

I see copies of rtkit-daemon. This feels like a bad thing. How do I get rid of this ... if it really is a bad thing?

I see several copies of the syslogd process running. Are these always there or are several launched based upon logging needs? If I'm doing that much logging, how do I sort out what is going on?

I have a screen full of console-kit-daemon entries. I really don't understand why I need them.

I really don't want more than two copies of getty. where do I configure to reduce the number?

Merci d'avance,
~~~ 0;-Dan
 
Old 09-21-2010, 04:49 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
rtkit-daemon. This feels like a bad thing.
Why... ? `dpkg -S /usr/lib/rtkit/rtkit-daemon` -> `apt-cache show rtkit` ->
Quote:
RealtimeKit is a D-Bus system service that changes the scheduling policy of user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request. It is intended to be used as a secure mechanism to allow real-time scheduling to be used by normal user processes.
IOW, leave it.

Quote:
I have a screen full of console-kit-daemon entries.
Same method of research ->
Quote:
ConsoleKit is a system daemon for tracking what users are logged into the system and how they interact with the computer (e.g. which keyboard and mouse they use).

It provides asynchronous notification via the system message bus.
Sounds like that many threads is normal. In htop, if you hit F2, then enable Display Options -> Hide Userland Threads, it should only show one line of console-kit-daemon.

Quote:
I really don't want more than two copies of getty.
Comment out some getty lines from /etc/inittab and run `init q`


Disclaimer: You didn't specify what distro you're running. I assumed Ubuntu like your profile says.
Disclaimer 2: I have never used upstart so my getty advice might be wrong.
 
1 members found this post helpful.
Old 09-23-2010, 03:39 AM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,773

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by AlucardZero View Post
...
Comment out some getty lines from /etc/inittab and run `init q`
...
Disclaimer 2: I have never used upstart so my getty advice might be wrong.
No harm, but "upstart" doesn't use /etc/inittab but I'd forgotten that details. When I find where U/S puts its getty requirements, I'll post my results.

Merci d'avance,
~~~ 0;-Dan
 
Old 09-23-2010, 03:53 AM   #4
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,773

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Under Ubuntu Jaunty, I find:
Code:
/etc/event.d
    tty1  tty2  tty3  tty4  tty5  tty6
Each of these files contains: ("tty1" as an example)
Code:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5

stop on runlevel 0
stop on runlevel 1
stop on runlevel 6

respawn
exec /sbin/getty 38400 tty1
Refer to the Upstart Documentation http://upstart.ubuntu.com/wiki/ to understand these "jobs".

NOTE -- Ubuntu has used upstart for a while. Their web site names v6.10. The current release is v10.04-LTS with
another release scheduled in October 2010. Each release has deployed more and more use of upstart as both upstart and ubuntu matured. Because the system-V init was around for sooooooo loooooong, upstart made some effort to "look like" the olde stuff.

I will suss out how this looks for Lucid (v10.04 LTS) and post that separately.

Cheers,
~~~ 0;-Dan
 
Old 09-23-2010, 11:03 AM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,773

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Under Ubuntu Lucid, I find:
Code:
/etc/init
    tty1.conf  tty2.conf  tty3.conf  tty4.conf  tty5.conf  tty6.conf
Each of these files contains: ("tty1" as an example)
Code:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 tty1
NOTICE -- This is a much simpler "job" file than appeared in Jaunty. This results because of improvement in job-file features implemented by the newer "upstart." Also, we getty still runs at the same baud rate and name, but we indicate an 8-bit clean "-8" connection.

(Refer to the Upstart Documentation http://upstart.ubuntu.com/wiki/ to understand these "jobs".)

Cheers,
~~~ 0;-Dan[/QUOTE]

Last edited by SaintDanBert; 09-23-2010 at 11:06 AM.
 
  


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
2 specific Sendmail questions about "delay_checks" and "Connect:" in access.db fast-reflexes Linux - Server 0 08-05-2010 09:33 AM
Get system current status to C program from "htop" chamila1986 Programming 1 01-17-2010 09:00 AM
"LUG" in user details and displayed on left bar. bartonski LQ Suggestions & Feedback 2 12-09-2009 04:02 PM
Details about ".dsl" and ".uci" packages files in DSL zoombee Linux - General 2 10-11-2009 04:17 PM
System Information Made Easy : Contains of "/proc" folder in details thandermax Linux - News 4 01-17-2006 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:41 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