Just a quick one is there a way to manually scroll through the help/output of vmkfs, vmkiscsi ect commands? The reason why I ask is because I'm finding that the | less | more doesn't seem to work. The screen will just scroll to the bottom and then flip out if i try to scroll back up.
Thank you for any info.
Some of the things you can try are redirecting output to a file with > file.txt and then open the file. Shift + Page Up can sometimes work.
with shift down it's doesn't let me scroll.
Are you at the console or ssh? Console may be a problem. Shift Page UP works for many ssh terminal programs.
Console, on ssh i can just scroll the window up hence no need for more,less. also i should mention that on vMA is just flops period, if i console on it the command appears to execute but nothing shows up have to ctrl+c, q. same deal if i ssh the vma client but the screen just goes blank.
Can you give an example of command that does not work with | less or | more?
vmkiscsi-tool works well and vmkfstools usually create few rows of output.
Maybe those commands use standard error instead of standard output.
In this case you can use:
2>&1 | more
Andre
im sorry i don't understand how i use
2>&1 | more
this is of an ssh session but the same things happens on console. the only things that this does not show is that immediately after i press enter on the command it displays the bottom menu/help options( doesn't fit on the screen). If i press the arrow keys, space, page up/down, it goes all ~~~~~.
login as: root
root@esx41's password:
Last login: Mon Feb 28 18:07:37 2011
[root@esx41 ~]# vmkiscsi-tool vmhba33 | less
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
(END)
Your command is incorrect. Without | less it prints the help
Try with:
vmkiscsi-tool -C -l vmhba33 | less
If arrow does not work maybe there is an incorrect keyboard, in this case use return to a new line and p to go back
Sorry for the misunderstanding but the point is to get the help menu and to be able to read it.
any other suggestions?