最終更新: engineernochiebukuro 2009年04月05日(日) 00:08:15履歴
Solaris の各種システム情報を表示する。
現在の時刻、起動してからの時間、ユーザ数、ロードアベレージが表示される。
$ uptime 3:15pm up 549 day(s), 18:18, 1 user, load average: 2.00, 2.00, 2.01
日本では"Japan"を使う。
$ cat /etc/TIMEZONE # @(#)init.dfl 1.5 99/05/26 # # This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file. # This file looks like a shell script, but it is not. To maintain # compatibility with old versions of /etc/TIMEZONE, some shell constructs # (i.e., export commands) are allowed in this file, but are ignored. # # Lines of this file should be of the form VAR=value, where VAR is one of # TZ, LANG, CMASK, or any of the LC_* environment variables. # TZ=Japan CMASK=022
コメントをかく