Skip to content

Commit

Permalink
modified man page
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavol Ipoth committed Oct 4, 2015
1 parent e63767d commit 28267e3
Showing 1 changed file with 32 additions and 14 deletions.
46 changes: 32 additions & 14 deletions man/systeminfo.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
Expand Down Expand Up @@ -38,6 +38,8 @@
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
Expand All @@ -48,17 +50,24 @@
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
Expand Down Expand Up @@ -123,8 +132,8 @@
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "systeminfo 8"
.TH systeminfo 8 "2014-01-30" "hardware utility" "systeminfo man page"
.IX Title "SYSTEMINFO_POD 1"
.TH SYSTEMINFO_POD 1 "2015-10-04" "perl v5.18.2" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
Expand All @@ -133,7 +142,7 @@
systeminfo \- utility for displaying hardware information
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
systeminfo \-\-get asset_type [\-\-p|\-\-l|\-\-d identifier] [\-\-c]
systeminfo \-\-get asset_type [\-\-p|\-\-l|\-\-j|\-\-d identifier] [\-\-c]
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
systeminfo is utility for getting hardware information
Expand All @@ -143,13 +152,16 @@ output
.IX Header "OPTIONS"
.IP "\fBasset_type\fR" 8
.IX Item "asset_type"
can be one of these types: system, cpu, memory, disk, pci, fcms, tape
can be one of these types: system, cpu, memory, disk, pci, fcms, tape, eth
.IP "\fB\-\-l, \-\-long\fR" 8
.IX Item "--l, --long"
specifies to display long output
.IP "\fB\-\-p, \-\-parsable\fR" 8
.IX Item "--p, --parsable"
specifies to display parsable output
.IP "\fB\-\-j, \-\-json\fR" 8
.IX Item "--j, --json"
specifies to display output in json
.IP "\fB\-\-d, \-\-detail \f(BIidentifier\fB \fR" 8
.IX Item "--d, --detail identifier "
specifies to display detail, requires identifier
Expand Down Expand Up @@ -183,6 +195,12 @@ This gets information about fcms \s-1HBA\s0's in parsable format:
\& systeminfo \-\-get fcms \-\-p
.Ve
.PP
This gets information about memory in json format:
.PP
.Vb 1
\& systeminfo \-\-get memory \-\-j
.Ve
.PP
This get detail about disk device:
.PP
.Vb 1
Expand Down Expand Up @@ -217,6 +235,6 @@ This utility should be run with root priveleges
Pavol Ipoth
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
Copyright 2013, 2014 Pavol Ipoth
Copyright 2013, 2014, 2015 Pavol Ipoth
.PP
GPLv3

0 comments on commit 28267e3

Please sign in to comment.