LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-23-2004, 08:18 PM   #16
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928

How about:

You edit /etc/rc.d/rc.local, append line
/usr/bin/echo "ldconfig" | /usr/bin/at now +5minutes

:)

That will run ldconfig 5 minutes after the boot-scripts
have finished, X and your "most important apps"
should be up & running, and the process in the
background shouldn't bother you too much ;)


Cheers,
Tink
 
Old 11-23-2004, 08:40 PM   #17
laiboonh
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
oh, great idea. Why didn't i think of that? (Because i am a newbie )

Thanks for the tip.
 
Old 11-24-2004, 12:33 AM   #18
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Code:
root@gateway:~$ uptime
00:41:14 up 193 days, 19:56,  0 users,  load average: 0.01, 0.04, 0.00
Why reboot at all unless you've just upgraded the kernel?
 
Old 11-24-2004, 01:08 AM   #19
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Power-saving, environmental conscience, care for
future generations?

If it's not actually a server of sorts I can't see a
good reason not to shut it down, unless of course
one feels the urge to part-take in a contest about
longest uptime, fastest CPU, most RAM, fastest GPU,
... to compensate for lack of real of ... (insert appropriate
choice here) ;)

You can extend that to the world of motorcars if you
wish (faster, better acceleration, most expensive
wheels, ... )!


Cheers,
Tink
 
Old 11-24-2004, 06:49 AM   #20
zba78
Member
 
Registered: Oct 2004
Location: Birmingham, England
Distribution: OpenSuSE 10.2
Posts: 50

Rep: Reputation: 15
I'm a little confused, the "updating /sbin/ldconfig" thing only takes about 15 seconds to do it's thing on my PC (which is over 2 years old).
 
Old 11-24-2004, 08:34 AM   #21
laiboonh
LQ Newbie
 
Registered: Jan 2004
Posts: 20

Original Poster
Rep: Reputation: 0
nope the running ldconfig at background command didn't work. First of all slackware does not have a command now for me
 
Old 11-24-2004, 11:11 AM   #22
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
The command is at, now is a parameter.

In Slackware 10 it's in
/<cdrom1>/slackware/ap/at-3.1.8-i486-2.tgz


Cheers,
Tink
 
Old 11-24-2004, 11:02 PM   #23
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Quote:
Originally posted by Tinkster

If it's not actually a server of sorts I can't see a
good reason not to shut it down, unless of course
one feels the urge to part-take in a contest about
longest uptime, fastest CPU, most RAM, fastest GPU,
... to compensate for lack of real of ... (insert appropriate
choice here)

You can extend that to the world of motorcars if you
wish (faster, better acceleration, most expensive
wheels, ... )!


Cheers,
Tink
Nope not I, but the intent in this thread appeared to be to find ways of reducing the boot time, hince not rebooting the machine at all is the most effective way to accomplish said end result. As I'm sure most everyone is aware, unlike Windows, Linux is very stable in this regard and seldom needs rebooting. That was always my biggest gripe with Windows, everytime I turned around it said, "Reboot Me Please", or was locking up. Anyway, my workstation stays up 24/7 365 out of shear convience, kinda like flourscent light in my bathroom.
 
Old 11-25-2004, 11:40 AM   #24
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by DaHammer
Nope not I, but the intent in this thread appeared to be to find ways of reducing the boot time, hince not rebooting the machine at all is the most effective way to accomplish said end result. :)
/me looks at DaHammer's signature and says:"Yeah, right" :D

Quote:
Anyway, my workstation stays up 24/7 365 out of shear convience, kinda like flourscent light in my bathroom. :) [/B]
Well, if you put it like that you're one of the worst
energy wasters I've come across in my entire life ;)

My notebook (no where near as grunty as your thing)
takes under a minute from power button to first activities
in my WM ...


Cheers,
Tink
 
Old 11-30-2004, 03:38 AM   #25
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Quote:
Originally posted by Tinkster
How about:

You edit /etc/rc.d/rc.local, append line
/usr/bin/echo "ldconfig" | /usr/bin/at now +5minutes



That will run ldconfig 5 minutes after the boot-scripts
have finished, X and your "most important apps"
should be up & running, and the process in the
background shouldn't bother you too much
Tinkster, that's the perfect solution. I just tried it out. Sure enough, a check of my running processes showed that at five minutes after booting ldconfig appeared, doing its thing quietly in the background. Thanks for the tip.

BTW, I posted your solution in alt.os.linux.slackware, where they were also discussing the pros and cons of having ldconfig run as part of the boot sequence.
 
Old 11-30-2004, 11:26 AM   #26
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Heh :)

Now the REAL pros are going to stomp me
into the mud ;}


Cheers,
Tink
 
Old 11-30-2004, 03:04 PM   #27
dhave
Member
 
Registered: Oct 2004
Location: still outside the Matrix
Distribution: Arch, formerly Gentoo and Slackware
Posts: 438

Rep: Reputation: 31
Quote:
Originally posted by Tinkster
Heh

Now the REAL pros are going to stomp me
into the mud ;}


Cheers,
Tink
Hmm. Maybe I should have asked you first. Oh, well. The post is buried way down in a long thread that is already pretty much dead, I think. But I do hope you don't get any hate mail on my account.

Those guys at alt.os.linux.slackware might be real pros, but some of them seem to have a grudge against humanity. It's not for the faint of heart. That said, I've gotten some good advice out of some of the more helpful ones. There seem to be some long-running feuds, though, and a lot of the boyz have entirely forgotten their manners. There's one poor guy who can't post anything without trashing everybody else. I think he needs a shrink, fast.

Plus there are an awful lot of posts pertaining to Britney Spears. I didn't know she liked computers so much. Great to have her on the Slackware Linux team, though.
 
  


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
where is ldconfig ? trutnev Red Hat 3 06-01-2005 12:05 PM
ldconfig diefree Fedora 4 12-11-2004 02:20 AM
Quick wine/ldconfig question... Toker Linux - General 1 10-12-2003 03:08 PM
Quick wine/ldconfig question... Toker Linux - Newbie 1 10-12-2003 12:14 PM
ldconfig gui10 Slackware 3 05-14-2002 08:30 AM

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

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