Dear all, because I don't know if there is some kind of xmessage under Sun's Solaris, I made a little ksh script which, by now, only notifies me when a filesystem has reached a certain %-use using smbclient -M. Because I'm thinking of some other implementations, my question/feature request: is there any way of putting some other buttons on the notification window that smbclient shows, to allow some other choices?? Confusing? OK, here comes an example that should clarify this: |-----------------------------------------| | | | Hello! This is a text line... | | | | |------| |-----| | | | Yes *| | No | | | |------| |-----| | |-----------------------------------------| Apologies for the baaaaaad drawing... :-) Well, under SGI's IRIX the command would look something like this: notify -c -t "Hello! This is a text line..." -B Yes -b No [...] notify/xmessage will display the small window from above -c to center it on screen -t to put the text to be shown -B to select an answer by default (in this case a "Yes" will be returned if you click on it or if you press return) -b to put some other (optional) choice/s (you can as many -b TEXT as needed) Some other options of this command include icon decoration, window title, etc. Reactions please! Best regards, Martin> - Meta4?-Martin Mielke R&D Systems Support> * martinm@meta4.com >Meta4 Human Technology Centro Europa Empresarial - Edf. Roma C/ Rozabella, 8 28230 Las Rozas - MADRID SPAIN Tel.: 91 634 85 00 - Fax: (+3491) 634 86 68 http://www.meta4.es
I was reading a comment on Linux Weekly News this morning about something Microsoft had published to the effect that there were vendors guaranteeing 99.9% uptime for NT. The guy who wrote the reply did the math for what that means, and the results are very interesting. Quote below: OK, now what does a 99.9% uptime guarantee mean? Well, it means that at bottom, a guarantee that the machine will not be down for more than one one-thousandth of the time. If we assume that we have a stable system, ie., one where the system is not taken down for software upgrades, etc., then we are looking at the time from a system crash (strictly, I think, from the time that the crash is actually noticed) to the time that the system is running again. So, below is a little table that shows the best guaranteed up-times for various values of the above restart time, rounded up. Restart time Uptime 10 mins 7 days 30 mins 21 days 120 mins 84 days etc ..... The conclusion I draw is that either (a) NT crashes very often and is quick to restart or (b) NT crashes less often but takes a long time to restart.. Considering I've had Netware servers and UNIX boxes that stayed up for 6 months at a time, maybe we need to re-think what constitutes acceptable availability. "99.9%" sounds great, but if you look at it this way, it's really pretty abysmal. Anyone care to do the math for their Samba/Linux systems for comparison? Mine gets rebooted less than once a month.