Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Global Shell examples
- Opening a Global Shell session
- Finding servers in the OGFS
- Getting server information from the OGFS
- Browsing a server’s file system or registry
- Managing custom attributes
- Copying files within the OGFS
- Copying files between the OGFS and a development server
- Logging on to a managed server with rosh
- Running OGFS scripts on managed servers with rosh
- Running native programs on managed servers with rosh
Getting server information from the OGFS
List the Object ID and of the server named m256.opsware.com
:
cd /opsw/Server/@/m256.opsware.com
cat self:i ; echo
(The preceding echo
command is optional. It generates a new line character, which makes the output easier to read. The semicolon separates bash
statements entered on the same line.)
List the name of the server with an Object ID of 340039
:
cat /opsw/.Server.ID/340039/self
By iterating through the server names with a for
loop in bash
, display the platform (operating system) name for each server:
cd /opsw/Server/@
for SERVER_NAME in *
do
cat $SERVER_NAME/attr/platform
done
Display the amount of RAM in the server named abc.opsware.com
:
cd /opsw/Server/@/abc.opsware.com
grep Quantity Memory/RAM/info
Display the network interfaces of a the server named blizzard.opsware.com
:
cd /opsw/Server/@/glengarriff.snv1.dev.opsware.com/Interface
for INTERFACE_NAME in *
do
echo ............. $INTERFACE_NAME ............
grep Interface "$INTERFACE_NAME/info"
echo ""
done
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to hpe_sa_docs@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: