Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-08-2012, 11:04 AM   #1
LQ Newbie
Registered: Dec 2011
Distribution: Arch Linux
Posts: 19

Rep: Reputation: Disabled
what's more effiecient? acpid or C-program


What's more efficient, to use a 100 line C-program to control keyboard backlight or acpid?
Old 02-08-2012, 11:34 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
That depends on how well the C program is coded, and how many
resources it eats. A shell (bash) will always consumes ~ 2 MB
of RAM, and most likely show a bit more overhead than a well-
written C program.

At the end of the day the only way to find out is to write it
and try ;}


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
ACPID scripts only work when restart acpid from terminal jasonkhonlaw Linux - Laptop and Netbook 3 10-23-2017 12:43 AM
pty handler program Skaperen Linux - Software 1 01-29-2010 11:22 AM
[SOLVED] acpid "Solution: please add acpid to /etc/runlevel.conf to start before hal/dbus" linus72 Linux - General 2 10-04-2009 08:40 PM
Copying program for linux? like copy handler... randknu Ubuntu 3 02-10-2008 03:23 AM
Exiting program w/ pthreads from sig handler LogicG8 Programming 1 07-29-2004 06:56 PM > Forums > Linux Forums > Linux - Newbie

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

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