I'm writing a bash script to gather some informations about disks and then start the 'nmon' tool to monitor only those specific disks.
I start the nmon tool out of the bash script (with
-g). To get the correct view within the tool one need to press the g key on the keyboard.
Is there any way to get that keypress automatically triggered out of the bash script?
Thanks a lot!