8

I have a 48core linux box. I would like to monitor per core cpu usage. However when I use top and press 1 I get an error message "Sorry, terminal is not big enough" Is there anyway I can increase the terminal window size. Max (putty) my laptop can do is ~46 lines. Increasing window size in putty or shell's ROWS variable hasn't helped.

2
  • 1
    The answer depends upon which terminal emulator you are running. Do I understand correctly, that you are running PuTTY on Microsoft Windows to log into your Linux server?
    – Rob
    May 25, 2011 at 23:35
  • Yes, I am using PuTTY on Windows
    – user209051
    May 26, 2011 at 0:10

4 Answers 4

3

You can reduce your font size in putty to fit more lines. Using putty, I can see 64-cores in top on a 1920x1200 laptop monitor. You can also look into another way of looking at individual processor statistics.

Is it absolutely essential to see each CPU core's statistics? You could try mpstat -P ALL (installed as part of the sysstat package).

1
  • My screen is only 1280*800. Setting Font to 8pt didn't help, but if you select the option in the answer below, the effective font size seems < 8pt.
    – user209051
    Jun 2, 2011 at 2:32
1

I had to change rows to 60 under Windows option and set "When window is resized:" option to "Change the size of font" to get it to work

1

A simple solution might be using xterm, which by default uses small font. This way, I can observe 64 cores at 1080 vertical resolution.

0

I had exactly the same problem with VNC to 48-core server. From the terminal run command:

$ echo $LINES

Then keep vertically re-sizing the terminal and check num lines, until the number of lines is sufficient (above 50 in my case)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .