0

On a SUSE Linux Enteprise 12 system, I'm trying to out the top command + the interactive interface option 1 but can't seem to figure out how to 'send' the 1 option.

The 1 option gives you an overview of the cpu usage per cpu (or thread)

top -1 does not work

I can't image this not being possible but I can't seem to find the solution. Can this be distro specific?

5
  • 1
    Is this for a GNU/Linux system? If so, have you considered the ~/.toprc config file option?
    – Jeff Schaller
    Aug 21, 2020 at 15:47
  • I'm using SUSE Linux Enterprise 12
    – dwana
    Aug 21, 2020 at 16:01
  • @JeffSchaller Thank you. When top was open and I enabled the option then I pressed W, this creates the ~/.toprc config file as suggested.
    – dwana
    Aug 21, 2020 at 16:17
  • That "solves" the problem for future top calls, but I wasn't sure if it was an Answer to your question, since it sounded like you wanted to be able to pass various interactive options while calling top...?
    – Jeff Schaller
    Aug 21, 2020 at 16:31
  • 2
    Does this answer your question? Launch top command showing all cores immediately
    – muru
    Sep 9, 2020 at 10:15

0

You must log in to answer this question.

Browse other questions tagged .