11-19-2012
This looks like homework. Please repost in the Homework Forum.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
system() call imeplemented in solaris is such a way that:
Command not found - return code 1
Command executed successfully without Output - return code 1
how to distinguish between these two based on return code in a c - file?
Can you help on this ? (5 Replies)
Discussion started by: iitmadhu
5 Replies
3. Shell Programming and Scripting
Hi,
I'am using "time" to check execution time of some script. Is there any possibility to save time command result into a file ? (2 Replies)
Discussion started by: Physix
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
hi,
please can I ask you for some help? I have data from 3D situation, x y z value
I'd like to use gnuplot to generate maps of the value in the planes z=0 to z=1 for example, my file looks
like
-0,012 0,0060 0,0 0,13972813076023477
-0,012 0,0064319163 4,2894483E-4 ... (1 Reply)
Discussion started by: kocour
1 Replies
6. Shell Programming and Scripting
find . -type f -print0 | xargs -0 chmod 600
find . -type f
On bash, I would like to pass the search result of "find" to another command as well as to the standard output. The above code performs the same search twice -- once for "xargs -0 chmod" and another for stdout. I would like to... (5 Replies)
Discussion started by: LessNux
5 Replies
7. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT DEBIAN
openhpi
openhpi(7) OpenHPI openhpi(7)
NAME
openhpi - an implementation of the SA Forum's Hardware Platform Interface
DESCRIPTION
OpenHPI is an implementation of the SA Forum's Hardware Platform Interface, which provides a standard C library interface to manage,
monitor, and control hardware (both local and remote).
OpenHPI 2.x implements the HPI B.01.01 specification.
The OpenHPI client library (libopenhpi) provides all the connection functionality needed by the client application to connect to the
OpenHPI daemon running on the local or remote server.
ENVIRONMENTAL VARIABLES
Some of OpenHPI's functioning can be changed by setting environment variables. This documents all client environmental settings.
OPENHPI_DAEMON_HOST=URL
URL for the host running the daemon. This can be "localhost" (default) if the daemon is running on the local host or an ip address.
OPENHPI_DAEMON_PORT=PORT_NUMBER
The port number the host is listening on for clent connections. Default port is 4743.
HARDWARE SUPPORT
OpenHPI provides a number of plugins that talk to different hardware types. The following is a list of tested plugins in OpenHPI 2.x.
ipmi
An IPMI plugin that can talk locally (via smi interface and OpenIPMI device driver) or remotely (via IPMI over LAN). It supports IPMI
1.5 for standard rackmount servers, and some of IPMI 2.0 for support of ATCA chassis.
IPMI plugin depends on libOpenIPMI version 1.4.x.
ipmidirect
An IPMI plugin designed specifically for ATCA chassis. It implements IPMI commands directly in the plugin.
snmp_bc
An SNMP based plugin that can communicate with IBM BladeCenter, as well as IBM xSeries servers with RSA 1 adapters.
SNMP_BC plugin depends on net-snmp > 5.0.7.
sysfs
Current status??
watchdog
Current status??
OTHER DOCUMENTATION
The definitive guide to HPI is the SA Forum specification at http://saforum.org.
More info on OpenHPI can be found at our webpage (http://openhpi.org).
SEE ALSO
The following man pages may also be of interest
openhpid
The openhpi daemon, providing OpenHPI data as a system service.
AUTHORS
Authors of this man page:
Sean Dague (http://dague.net/sean)
Renier Morales (renier@openhpi.org)
2.14.1 2009-11-23 openhpi(7)