locator - location indicator control
/usr/sbin/locator [-f | -n]
The locator command sets or queries the state of the system locator if such a device exists.
Without options, the locator command reports the current state of the system.
The privileges required to use this command are hardware dependent. Typically, only the super user can get or set a locator.
The following options are supported:
-f
-n
Example 1 Using the locator Command on a Platform Which Has a System Locator LED
When issued on a platform which has a system locator LED, the following command turns the locator on:
# locator -n # locator The 'system' locator is on
Example 2 Using the locator Command on a Platform Which Does Not Have a System Locator LED
When issued on a platform which does not have a system locator LED, the following command attempts to turn the locator on. The command returns an error message.
# locator -n 'system' locator not found
The following exit values are returned:
0
1
2
See attributes(5) for descriptions of the following attributes:
|
attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |