Forum Discussion

Arun_K's avatar
Arun_K
Level 6
12 years ago

command or script

Hi ALL,

We have manually offline around 200 clients in NBU using GUI.

Some of my junior employees have made some clients online and now it is vey tough for me to check which are offline clients and date.

 

Can anybody please provide me the command/script to check which clients are in offline state and the online date?

Please it is my humble reuqest.

 

  • Try this one

     for i in `sudo bpclient -All -L|grep -i "client name"|awk '{print $3}'`;do echo -e `echo $i;sudo bpclient -client $i -L|egrep -i "offline|online at"`|grep -i "yes";done

     

12 Replies