LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-26-2014, 02:47 PM   #1
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1, CentOS 7
Posts: 108

Rep: Reputation: 15
Can I disable at daemon or is it used by system processes?


Hi,

I am trying to learn more about my Slackware distro and right now I am looking at the output of ps ax command.

There is one line saying

Code:
855 ?        Ss     0:00 /usr/sbin/atd -b 15 -l 1
Google said atd is a daemon for scheduling tasks. I run atq and nothing was found.

My question is can I disable at from running? How can I check if some system processes are using it?

Code:
uname -a 
Linux ErikDT 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64 Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz GenuineIntel GNU/Linux
Slackware version is Slackware64 14.1

Thanks.
 
Old 12-26-2014, 04:50 PM   #2
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 707

Rep: Reputation: 72
If you do not intend to use the command at you can prevent that from being called at start up by commenting out the relevant line in /etc/rc.d/rc.M.
However, on this Salix-14.1 box, it makes no use of cpu or memory unless called specificaly.
Code:
rick[~]$ ps -A | grep atd
  792 ?        00:00:00 atd
rick[~]$ ps -p 792 -o %cpu,%mem
%CPU %MEM
 0.0  0.0
Nor on a Pi running slackwarearm-current.
Code:
rick@shed-1:~$ ps -A | grep atd
  536 ?        00:00:00 atd
rick@shed-1:~$ ps -p 536 -o %cpu,%mem
%CPU %MEM
 0.0  0.0
You could also be lazy and just chmod the atd command so it is not executable. It is found in in /usr/sbin.
Code:
rick[~]$ ps -p 792 -o %cpu,%mem,cmd
%CPU %MEM CMD
 0.0  0.0 /usr/sbin/atd -b 15 -l 1
Cheers!

Last edited by justwantin; 12-26-2014 at 04:57 PM. Reason: tyop
 
Old 12-26-2014, 04:54 PM   #3
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1, CentOS 7
Posts: 108

Original Poster
Rep: Reputation: 15
You say I need to keep "at" in order to use crond? Are they not separate daemons?
 
Old 12-26-2014, 05:00 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 707

Rep: Reputation: 72
No I mistakenly discuused the use of at and cron as they both were used for scheduling. crond does not need at.

My apologies, I have edited my post to avoid confusion
 
Old 12-26-2014, 05:06 PM   #5
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1, CentOS 7
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks, for your time and answer.

So you think "at" is not used by system processes on a clean Slackware64 installation and can be safely removed?
 
Old 12-26-2014, 05:17 PM   #6
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 707

Rep: Reputation: 72
I do not know if there is anything else in a default install that uses at. There may or may not be and of course you may install something in the future that requires it and you'd never know because it would be assumed that at would be installed and hence not listed as a dependency. Its really up to you whether you choose to use it. I wouldn't bother to uninstall it.

I have two DVB-T cards in this box and the script I use to save TV shows uses at to schedule when the save begins.
 
Old 12-26-2014, 06:42 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 13,819
Blog Entries: 24

Rep: Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682Reputation: 3682
For any daemon or process, you should be able to view the appropriate man page to find out what it does. It would at least be a place to start in determining whether or not you want to turn it off.

For a daemon, such as "atd," you'd look and "man at," for example.

No ss process is running on this Slackware box, but "man ss" tells me what it's for.

Last edited by frankbell; 12-26-2014 at 06:46 PM.
 
Old 12-27-2014, 01:34 AM   #8
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1, CentOS 7
Posts: 108

Original Poster
Rep: Reputation: 15
frankbell, I read the man page before asking my question. My particular interest was not in at itself but in any processes that might (by default) be using it. Thank you for your time.

justwantin, thanks for the advice and time.

I am marking this as SOLVED.
 
  


Reply

Tags
processes, slackare64


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Why run Daemon processes as users or groups? ndaka123488 Linux - Server 3 08-16-2014 11:04 AM
[SOLVED] Console-kit daemon spawns more than 60 child-processes pigkouinos Slackware 2 09-18-2011 03:07 PM
Can't disable cups daemon on Ubuntu 10.04 ubusnake Linux - Newbie 5 06-10-2011 10:37 AM
Limitations of System Processes and Oracle Processes in RHEL AS3.0 sathyguy Linux - Enterprise 0 03-02-2007 11:52 PM
Which Processes/Services Should I Disable? Pt. 1 ivanolo SUSE / openSUSE 2 07-02-2006 05:07 PM

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

All times are GMT -5. The time now is 06:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration