[j-nsp] Monitor command question

Phil Shafer phil at juniper.net
Wed Sep 7 15:18:32 EDT 2005


Kucinskas, Nancy Nancy writes:
>In Juniper M10i using Junos version 7.1R3, is there any limitation on the
>use of monitor command? Is it possible to get the details on the percentage
>of CPU allocated for this command?

"monitor start" is implemented inside the CLI process, so CPU
allocation is done by the normal unix scheduler.

Some details:  While waiting for an input character, the CLI's select
loop checks to see if anything's being monitored.  If so, the select
gets a timeout of one second and if it expires, monitored files are
checked to see if they have been written to.  If so, the data is
displayed.  There are some other more expensive operations (checking
for new files, rollovers, etc) that are done every five seconds.

Thanks,
 Phil


More information about the juniper-nsp mailing list