Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #102606

Re: Throttle a process deliberately?

From Lewis <g.kreme@gmail.com.dontsendmecopies>
Newsgroups comp.sys.mac.system
Subject Re: Throttle a process deliberately?
Date 2017-03-19 17:21 +0000
Organization Miskatonic U
Message-ID <slrnoctfmo.1sqs.g.kreme@snow.local> (permalink)
References <Wsednb6Wurj59lHFnZ2dnUU7-W_NnZ2d@giganews.com> <ej39qbF7q0uU1@mid.individual.net> <vMKdnR0oqvPUOlDFnZ2dnUU7-bXNnZ2d@giganews.com> <ej5u0kFo6daU1@mid.individual.net>

Show all headers | View raw


In message <ej5u0kFo6daU1@mid.individual.net> Jolly Roger <jollyroger@pobox.com> wrote:
> If you do a ps axl you'll see an "NI" column that shows the nice value
> for any process in the list.

Yeah, but it's going to be zero.

 $ ps axl| wc -l; ps axl | awk  '{ if ($6 != 0) print $0 }' |wc -l
    438
    4

(And one of those lines is the ps header line)

 UID   PID  PPID CPU PRI NI      VSZ    RSS WCHAN  STAT   TT       TIME COMMAND
   0    87     1   0  37 10  2499744   3704 -      SNs    ??  0:02.67 /usr/libexec/warmd
   0   282     1   0  20  1  2453560    556 -      SNs    ??  0:00.01 /usr/libexec/periodic-wrapper daily
 222  9484     1   0   4 20  2471784  14492 -      SNs    ??  0:01.52 /usr/sbin/netbiosd

-- 
Against stupidity the gods themselves contend in vain.

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-17 19:04 -0400
  Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-17 23:29 +0000
    Re: Throttle a process deliberately? Calum <com.gmail@nospam.scottishwildcat> - 2017-03-18 14:58 +0000
      Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-18 17:33 -0400
        Re: Throttle a process deliberately? Calum <com.gmail@nospam.scottishwildcat> - 2017-03-19 20:56 +0000
        Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-19 21:39 +0000
          Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 07:51 -0400
            Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 12:08 +0000
              Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 08:38 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 13:07 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 09:16 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 13:37 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 11:09 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 17:08 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 14:54 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 20:54 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 18:40 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 23:01 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-22 19:33 -0400
                Re: Throttle a process deliberately? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-23 05:22 +0000
          Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 07:53 -0400
            Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 12:03 +0000
              Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 08:39 -0400
                Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-21 13:08 +0000
                Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 09:25 -0400
      Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 09:32 -0400
    Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-18 17:31 -0400
      Re: Throttle a process deliberately? JF Mezei <jfmezei.spamnot@vaxination.ca> - 2017-03-18 17:49 -0400
        Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 11:09 -0400
      Re: Throttle a process deliberately? Jolly Roger <jollyroger@pobox.com> - 2017-03-18 23:26 +0000
        Re: Throttle a process deliberately? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-19 17:21 +0000
        Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 09:35 -0400
      Re: Throttle a process deliberately? Lewis <g.kreme@gmail.com.dontsendmecopies> - 2017-03-19 17:04 +0000
        Re: Throttle a process deliberately? Alan Browne <alan.browne@freelunchvideotron.ca> - 2017-03-21 11:07 -0400

csiph-web