[OpenIndiana-discuss] Finding current runlevel?

Jesus Cea jcea at jcea.es
Thu Feb 10 17:38:38 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/02/11 15:35, Roy Sigurd Karlsbakk wrote:
>> Trying who -r on openindiana 147/148 seems to fail. I have tested this
>> on three machines plus a VM so far, all on 148, but one was rebooted
>> to an old BE with 147 just to see if there were any differences, which
>> there wasn't. The output I get is
>>
>> . run-level 3 Feb 10 13:36 3 0 S
> 
> Sorry - that was wrong (or right). The above is what I get form an old opensolaris install. From OI, I get this
> 
>          run-level    2011-02-10 13:43

This seems to be a "bug" in GNU "who" implementation.

Running this in Solaris 10, I get:

"""
[root at stargate-host /]# /usr/bin/who -r         (NATIVE SUN VERSION)
   .       run-level 3  Jan 18 20:33     3      0  S

[root at stargate-host /]# /usr/local/bin/who -r   (GNU VERSION)
         run-level    Jan 18 20:33
"""

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTVQinplgi5GaxT1NAQL3cgP/agIIF0cKapPDknFyKqQQ8B9deBB3nIkm
oW4ISPxQ9/PVJIwVoOHK8qUntZko48f3JdFdd9Fteeh9Vg6pwt5ayzalVgntBeFr
liA0pYjlO5YfsElDxgQ1KWqjPjik+KxIog/IahYBxwFv1e8biPhwLC+zvxdCmiVQ
hrL9Zmzr+9Q=
=Hqbw
-----END PGP SIGNATURE-----



More information about the OpenIndiana-discuss mailing list