Novell Cool Solutions

Is anybody imaging right now?

ukdtom

By:

December 9, 2011 11:45 am

Reads:4,143

Comments:3

Score:Unrated

Print/PDF

Looking for a way to detect, if anybody currently is downloading an image from your SLES based ZCM-Server?

If so, then try this:

Make an ssh connection to your image server

@ the console, type the following:

strace -fp $(pgrep novell-pbservd) 2>&1|grep send

Above will start a trace of everything, that the novell-pbservd sends out

So if there’s no output, it means nobody is currently imaging, otherwise, it’ll show an output like the following:

[pid 24278] sendto(1, "#r\343|\312\250\262\232\273\321|l\226\322d\301\0314~,\236,\6-W=\25\304\26\254\361\370"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\216\24\31\343\351'\347\337\352\1\246\343\341\311\370\352\344\315N\32yH\274d\5\3204\306\207\311\321&"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "k\310R\226\246E<\323\367'G-i\357\226\7\335/\254\343\334r\224\221\330/r\301\247\226\255\225"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\224F\340\341\261\231\277\204\314\373K\310\260\266\205\356p\31\241N\2104\271\"A#d\34\tg\374\33"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "l\22\233\300\256C[\321\304\324\245X\306\315\16\342!\252c\341\214_\375c:\32s\372\362O\252y"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "f\344o\32\365\207\4\303\210F\36.\235\331H\311\272 \24\324\315\254\237\1S\346\273\370\307\276\243\323"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\334p\3642\300\tbQ\2507\262Xp\243\256_\204\203\253\3537\201_\271\352\207?#+\6\17a"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "8\243\316\\V;\364\356\243\264~\244\251\200\236\271\352\377\240\215\252Ge\365\225\204\301\334\307nT\242"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\331!sGV\364\r\343W\320\336}\0F\341\321\252\33\36\312\356\234#0>\323=\252\271\361U\242"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\355\372\223P\244h\27\377\264\230\343F>0\260:4\226[\353!^!\216Y\243\307\352\fz\204\26"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\333z\235\24J\322\353\233\333?\320{\224\372\r4X\367\35j5y\207\265\323\2\2164\206\272\212\206"..., 4440, MSG_NOSIGNAL, NULL, 0) = 4440
[pid 24278] sendto(1, "\357\334\313l<q\256yh\336J\350\3715\347\ns\222\322\316\337V\323E\327\334\276B\320\337\233\356"..., 4440, MSG_NOSIGNAL, NULL, 0 <unfinished ...>

To stop the trace again, hit Ctrl C

Best Regards

Tommy

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags: ,
Categories: Technical, ZENworks Configuration Management

3

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

3 Comments

  1. By:martinusen

    Have really missed this option. Thanks for sharing Tommy. On my SLES servers (ZENworks 10 running on both SLES10 and SLES11) I have to grep for ‘send’ not ‘sendto’. Anders

    • By:ukdtom

      Hi Anders.

      What you just posted, made me rethink…my solution didn’t work for ZCM10, only ZCM11…(Always on the edge of products here) :-)

      As such, I altered my article to your solution, and as such…THANX FOR SHARING…

      After all, the more people doing that, the stronger we all stand

      Best Regards

      Tommy

  2. By:tbowman1724

    Is there a way to see if anyone is pulling an image from a Windows based satellite server and Zen 11.2?

    Thanks,

Comment

RSS