summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authormnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:20:14 +0000
committermnc <mnc@d7303112-9cec-0310-bdd2-e83a94d6c2b6>2007-04-24 05:20:14 +0000
commitbc39767eadc02018c29b95ee12932540136d4895 (patch)
tree8c4f34191d424257895bf43019251282407073f5 /README
parenta6509647355e02fcca42ad3af5b7e5309e8717dc (diff)
downloadopen-iscsi-bc39767eadc02018c29b95ee12932540136d4895.tar.gz
move --info output to common --print output.
git-svn-id: svn://svn.berlios.de/open-iscsi@802 d7303112-9cec-0310-bdd2-e83a94d6c2b6
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 9 insertions, 3 deletions
diff --git a/README b/README
index 58d2be9..546bd9c 100644
--- a/README
+++ b/README
@@ -187,6 +187,8 @@ Usage: iscsiadm [OPTION]
[--login|--logout]
-m node --targetname=[name] --portal=[ip:port] --interface=[HWaddress] \
--op=[op] [--name=[name] --value=[value]]
+ -m node --targetname=[name] --portal=[ip:port] --interface=[HWaddress] \
+ --print=[level]
perform specific DB operation [op] for specific
interface on host that will connect to portal on
target. targetname, portal and interface are optional.
@@ -201,6 +203,8 @@ Usage: iscsiadm [OPTION]
[new], [delete], [update] or [show]. In case of
[update], you have to provide [name] and [value]
you wish to update
+
+ Print level can be 0 to 1.
-m node --logoutall=[all,manual,automatic]
Logout "all" the running sessions or just the ones
with a node or conn startup value manual or automatic.
@@ -210,7 +214,7 @@ Usage: iscsiadm [OPTION]
with a node or conn startup value manual or automatic.
Nodes marked as ONBOOT are skipped.
-m session display all active sessions and connections
- -m session --sid=[sid] [--info | --rescan | --logout ]
+ -m session --sid=[sid] [ --print=level | --rescan | --logout ]
--op=[op] [--name=[name] --value=[value]]
perform operation for specific session with
session id sid. If no sid is given the operation
@@ -220,6 +224,8 @@ Usage: iscsiadm [OPTION]
but in session mode targetname and portal info is
is not passed in.
+ Print level can be 0 to 2.
+
If no sid and no operation is given print out the
running sessions.
-d, --debug debuglevel print debugging information
@@ -561,12 +567,12 @@ To get information about the running sessions: including the session and
device state, session ids (sid) for session mode, and some of the
negioated parameters, run:
- iscsiadm -m session -i
+ iscsiadm -m session -P 2
If you are looking for something shorter like just the sid to node mapping
run:
- iscsiadm -m session
+ iscsiadm -m session -P 0
This will print the list of running sessions with the format: