> Hi,
> I have 8.10-server-i386 running in command-line only.
> Surely some of the processes below are unnecessary.
> What's the best way to separate the wheat from the chaff?
>
k* processes are chaff :-)...
It depends on what you use the machine for. For instance, do you use it
to serve files via FTP?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-10-2009, 03:32 PM
Chris Jones
How to keep unnecessary processes from starting
Hi,
Charles Howse wrote:
> Hi,
> I have 8.10-server-i386 running in command-line only.
> Surely some of the processes below are unnecessary.
> What's the best way to separate the wheat from the chaff?
Exactly what processes do you think are superfluous ? I don't see
anything there I wouldn't expect to see ...
That said, what you expect depends entirely on what you want this
machine to do ? Is it a web server, an NFS server, Samba server etc...
Do you want ssh access or not. etc. etc.
I would suggest better than just randomly looking at processes, to look
at the services you have running and disable those you know you don't need.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-10-2009, 04:24 PM
Florian Diesch
How to keep unnecessary processes from starting
Charles Howse <chowse@charter.net> wrote:
> I have 8.10-server-i386 running in command-line only.
> Surely some of the processes below are unnecessary.
I don't see anything uncommon for a server.
You could reduce the number of pop3-login processes
(login_processes_count in /etc/dovecot/dovecot.conf) if you have very
few POP3 users or the number of active consoles (ACTIVE_CONSOLES in
/etc/default/console-setup) if you don't need 6 consoles.
But as your machine doesn't seem to be busy and most RAM is unused (or
used for file caching) I don't see much reason for that.
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-10-2009, 05:46 PM
Charles Howse
How to keep unnecessary processes from starting
On Mar 10, 2009, at 9:56 AM, Mark Janssen wrote:
> On Tue, Mar 10, 2009 at 2:12 PM, Charles Howse <chowse@charter.net>
> wrote:
>> Hi,
>> I have 8.10-server-i386 running in command-line only.
>> Surely some of the processes below are unnecessary.
>> What's the best way to separate the wheat from the chaff?
>
> Actually... that already is a clean list without any useless stuff
> running.
> Unless you want to lose your mailserver, the only thing you could
> remove were some of the getty's (but then you lose some consoles)
Mark, Brian, thanks for the replies! I guess I was thinking that the
processes that started with k had something to do with a gui that had
been installed without my knowledge.
A little rtfm would have been in order before I posted, eh? ;-)
Thanks again, I'll not fix it if it's not broken!
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-10-2009, 09:26 PM
NoOp
How to keep unnecessary processes from starting
On 03/10/2009 08:21 AM, Brian McKee wrote:
> On Tue, Mar 10, 2009 at 9:12 AM, Charles Howse <chowse@charter.net> wrote:
>> Hi,
>> I have 8.10-server-i386 running in command-line only.
>> Surely some of the processes below are unnecessary.
>> What's the best way to separate the wheat from the chaff?
>
> Well, I don't know too much how to help - since your wheat might be
> our chaff :-)
> e.g. if you are not running a mail server some of that stuff is chaff
> - but if you are, it's wheat.
> It doesn't look that bad to me.
>
> ps -auxwwf is much more readable for me for that task, and shows association.
> If it's in square brackets leave it alone :-)
>
> Brian
>
$ ps -auxwwf | more
makes it easier to view/read via the terminal. Do you know of a way to
get that to pipe to a text file?
A simple pstree usually works for me:
$ pstree -pah|more
or you can pipe it to a text file to view:
$ pstree -pah > pstree.txt
$ gedit pstree.txt
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-10-2009, 11:45 PM
Derek Broughton
How to keep unnecessary processes from starting
Charles Howse wrote:
> Hi,
> I have 8.10-server-i386 running in command-line only.
> Surely some of the processes below are unnecessary.
> What's the best way to separate the wheat from the chaff?
>
As Brian says, one person's wheat is another's chaff, but as near as I can
tell, since you have pop3-login tasks under dovecot, you _are_ running a
mail server and so the only unnecessary tasks you have are at least 5 of
the 6 gettys - those are the consoles waiting for someone to login - and
possibly proftpd. Since you're accessing the server from ssh, 1 console is
probably enough (actually, one console is almost _always_ enough, but they
take so few resources). And since you're accessing the server from ssh,
you should have on-demand sftp, so if it's just you you don't really need
proftpd, and if it's others you might prefer them to use sftp anyway (more
secure).
--
derek
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-11-2009, 01:31 AM
Charlie Kravetz
How to keep unnecessary processes from starting
On Tue, 10 Mar 2009 15:26:48 -0700
NoOp <glgxg@sbcglobal.net> wrote:
> On 03/10/2009 08:21 AM, Brian McKee wrote:
> > On Tue, Mar 10, 2009 at 9:12 AM, Charles Howse <chowse@charter.net>
> > wrote:
> >> Hi,
> >> I have 8.10-server-i386 running in command-line only.
> >> Surely some of the processes below are unnecessary.
> >> What's the best way to separate the wheat from the chaff?
> >
> > Well, I don't know too much how to help - since your wheat might be
> > our chaff :-)
> > e.g. if you are not running a mail server some of that stuff is
> > chaff
> > - but if you are, it's wheat.
> > It doesn't look that bad to me.
> >
> > ps -auxwwf is much more readable for me for that task, and shows
> > association. If it's in square brackets leave it alone :-)
> >
> > Brian
> >
>
> $ ps -auxwwf | more
> makes it easier to view/read via the terminal. Do you know of a way to
> get that to pipe to a text file?
>
What I use when working with developers and filing bugs:
$ ps -auxwwf > ps.txt
> A simple pstree usually works for me:
>
> $ pstree -pah|more
>
> or you can pipe it to a text file to view:
>
> $ pstree -pah > pstree.txt
> $ gedit pstree.txt
>
>
>
>
--
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-11-2009, 02:07 AM
Charles Howse
How to keep unnecessary processes from starting
On Mar 10, 2009, at 9:31 PM, Charlie Kravetz wrote:
>
> What I use when working with developers and filing bugs:
> $ ps -auxwwf > ps.txt
I learned earlier today that ps doesn't want the dash before the
options. It will work, but complains of bad syntax:
$ ps auxwwf > ps.txt
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-11-2009, 12:06 PM
Charles Howse
How to keep unnecessary processes from starting
On Mar 10, 2009, at 7:45 PM, Derek Broughton wrote:
> Charles Howse wrote:
>
>> Hi,
>> I have 8.10-server-i386 running in command-line only.
>> Surely some of the processes below are unnecessary.
>> What's the best way to separate the wheat from the chaff?
>>
>
> As Brian says, one person's wheat is another's chaff, but as near as
> I can
> tell, since you have pop3-login tasks under dovecot, you _are_
> running a
> mail server and so the only unnecessary tasks you have are at least
> 5 of
> the 6 gettys - those are the consoles waiting for someone to login -
> and
> possibly proftpd. Since you're accessing the server from ssh, 1
> console is
> probably enough (actually, one console is almost _always_ enough,
> but they
> take so few resources). And since you're accessing the server from
> ssh,
> you should have on-demand sftp, so if it's just you you don't really
> need
> proftpd, and if it's others you might prefer them to use sftp anyway
> (more
> secure).
Thanks for the input Derek.
I had completely forgotten about sftp! That's a great tip. I can
uninstall ProFtpd now.
Now, here's something I may have gone about all wrong. I use FreeBSD
on my webserver, which comes with /usr/bin/mail by default. I use
that and sendmail (installed by default) to send mail in scripts, and
retrieve it from my Mac using a lightweight pop3 app called qpopper.
I don't do *any* mail outside the box.
Since 'mail' isn't installed by default, I installed mailutils, which
installed Exim4. I read a little about Exim, couldn't find a howto to
set it up as a pop server, so I installed Dovecot as a pop server
(crazy hard for me).
IIRC, sendmail wasn't difficult to set up to send local mail in
FreeBSD, so I wonder if I could use sendmail in Intrepid, and
uninstall Dovecot and Exim?
Does that make sense?
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
03-11-2009, 12:47 PM
Rashkae
How to keep unnecessary processes from starting
NoOp wrote:
>
> $ ps -auxwwf | more
> makes it easier to view/read via the terminal. Do you know of a way to
> get that to pipe to a text file?
>
I'm sorry, this confuses me. It looks like your asking how to re-direct
to a file, but my brain grinds to a halt because:
1. who you are.
2. you answer the question yourself next paragraph down.
> A simple pstree usually works for me:
>
> $ pstree -pah|more
>
> or you can pipe it to a text file to view:
>
> $ pstree -pah > pstree.txt
> $ gedit pstree.txt
>
>
>
>
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users