[Close] How to put FreeBSD to sleep?

Hi all,
sorry, but I am new in FreeBSD.

Please, tell me How to shut Down, Restart the computer?

I use for shut down my PC:
Code:
# shutdown -p now

I use for reboot:
Code:
# reboot now

but I know that there is also:
Code:
# shutdown -r now

How do right?

The most important thing! How do I send the computer to sleep?
I do not use GUI and it should be done with the command line.


Thanks, and sorry for a rude question.
 
Code:
 sync && sync && shutdown -p now
... don't know about the computer-to-sleep command though, always stuff to do unless shutdown on these machines. ( I typically shutdown several ttyN's in rapid succession, the extra sync's AFAIK help the history files to synchronize adequately into the unified one... )
 
jb_fvwm2 said:
Code:
 sync && sync && shutdown -p now
... don't know about the computer-to-sleep command though, always stuff to do unless shutdown on these machines.

That's a little redundant, as sync is part of the shutdown process. Just look for the "syncing" messages in the output (use -h if you need more time to read the screen).
 
Only trouble I had on this box was USB after a resume iirc, loading as modules and then putting the required entries in /etc/rc.suspend and /etc/rc.resume got everything working correctly.
 
If I use
Code:
# zzz
My pc hang up - do not respond to button presses.

Code:
acpiconf -s3
do not work (pc hang up too), but I knew where to dig.
 
When I saw "How to put FreeBSD to sleep?" my first thought was "Well, better not at all". But judging from your last post, you now have first hand experience.


[*] On the side note, sleep support was newer important for me, but there are constant improvements, and some reported it works for them.

Here it went from locking up system, to not lightning up display on wake, last time I checked.
 
Back
Top