/proc/stat

This is a discussion on /proc/stat within the Linux Programming forums, part of the Platform Specific Boards category; can I extract from first line of /prov/stat the number of processors ??...

  1. #1
    Registered User scrapedbr's Avatar
    Join Date
    May 2003
    Posts
    19

    /proc/stat

    can I extract from first line of /prov/stat the number of processors ??
    cscience.org
    gobolinux.org
    Gobolinux user: 00101100

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,451
    > can I extract from first line of /prov/stat the number of processors ??
    I dunno, can you?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21