<ask>sudo halt bermasalah

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
rookie
Posts: 41
Joined: 11 Jul 2011, 22:58
Location: Moscow,Russia
Contact:

<ask>sudo halt bermasalah

Postby rookie » 28 Nov 2011, 23:48

kenapa setiap sudo halt di terminal ubuntu 11.1O selalu ngehang ya..
tapi sebaliknya kalo shutdown lewat cara biasa malah bisa..ada yang bisa bantu ngatasin masalah ini??
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: <ask>sudo halt bermasalah

Postby blackshirt » 28 Nov 2011, 23:54

coba $sudo halt -p
User avatar
pingsut
Posts: 754
Joined: 16 May 2010, 18:05
Location: Yogyakarta
Contact:

Re: <ask>sudo halt bermasalah

Postby pingsut » 29 Nov 2011, 00:02

Code: Select all

halt --help
Usage: halt [OPTION]...
Halt the system.

Options:
  -n, --no-sync               don't sync before reboot or halt
  -f, --force                 force reboot or halt, don't call shutdown(8)
  -p, --poweroff              switch off the power when called as halt
  -w, --wtmp-only             don't actually reboot or halt, just write wtmp
                                record
  -q, --quiet                 reduce output to errors only
  -v, --verbose               increase output to include informational messages
      --help                  display this help and exit
      --version               output version information and exit

This command is intended to instruct the kernel to reboot or halt the system;
when run without the -f option, or when in a system runlevel other than 0 or 6,
it will actually execute /sbin/shutdown.
User avatar
rizaaal
Posts: 1212
Joined: 01 May 2011, 16:02
Location: Bekasi, Indonesia
Contact:

Re: <ask>sudo halt bermasalah

Postby rizaaal » 29 Nov 2011, 00:07

Code: Select all

sudo shutdown -P now


juga bisa :)
User avatar
rookie
Posts: 41
Joined: 11 Jul 2011, 22:58
Location: Moscow,Russia
Contact:

Re: <ask>sudo halt bermasalah

Postby rookie » 29 Nov 2011, 00:12

[quote=pingsut]

Code: Select all

halt --help
Usage: halt [OPTION]...
Halt the system.

Options:
  -n, --no-sync               don't sync before reboot or halt
  -f, --force                 force reboot or halt, don't call shutdown(8)
  -p, --poweroff              switch off the power when called as halt
  -w, --wtmp-only             don't actually reboot or halt, just write wtmp
                                record
  -q, --quiet                 reduce output to errors only
  -v, --verbose               increase output to include informational messages
      --help                  display this help and exit
      --version               output version information and exit

This command is intended to instruct the kernel to reboot or halt the system;
when run without the -f option, or when in a system runlevel other than 0 or 6,
it will actually execute /sbin/shutdown.


works gan..kira2 itu kenapa ya..kok bisa hang gitu apa ada masalah sama driver etc??