Yes, I used to use Hyena for that & other things, but it's too slow vs. some of the native W2K tools.
-----Original Message----- From: neil lehrer [mailto:nlehrer@ibb.gov] Sent: Thursday, September 06, 2001 4:02 PM To: Nail, Larry Cc: 'Jeffrey Krueger'; toasters@mathworks.com Subject: Re: CIFS terminate for WTS
or a tool like hyena will show you all the sessions open on a server and let you mark the ones you want to disconnect.
"Nail, Larry" wrote:
I have to agree with the CLI part of it... I abhor the mouse. However for mouse jockies, an alternative is:
An alternative is to use the Computer Management MMC for Windows 2000 (right click my computer, manage, action, connect to another computer, expand shared folders, Sessions) to view the sessions. Limited to screen size if you hide the left pane. You can also sort by column.
I customized an MMC to include the Shared Folders & Local Users and Groups snap-ins for quick access.
Larry ______________________________________ Lawrence D. Nail Microsoft Certified Systems Engineer NT Infrastructure and Strategy SC Design Systems Texas Instruments Incorporated
-----Original Message----- From: Jeffrey Krueger [mailto:jkrueger@qualcomm.com] Sent: Thursday, September 06, 2001 1:54 PM To: Jeffrey Krueger Cc: toasters@mathworks.com Subject: Re: CIFS terminate for WTS
Thanks for all the responses! For the lists benefit, the conclusion was that this has to be done through the Server Manager but that an ONTAP RFE for a "cifs terminate" style command exists.
Since a few folks asked "If it works, why not just use Server Manager?" I'll give a public response. While Server Manager works, it is not very practical when you have a good number of connections. For instance, on the machine in question, there were 2,448 sessions open when I was trying to kill a few. I could easily pick them out via the command line "rsh filer cifs sessions" and some creative regex's. In server manager, I have a four-line view of this list. Just finding the connections in question was a chore of scrolling and manually reading each line. It was a pain.
I'm not dogging GUI's - they're great for a number of things. This is one task they are not well suited for. Personally, I prefer grep to do my pattern matching for me since it is abundantly more accurate and lightning fast in comparison to me manually reading each line.
So, a CLI alternative would be great! =)
-- Jeff
On Wed, Sep 05, 2001 at 11:52:38AM -0700, Jeffrey Krueger wrote:
Does anyone know how to terminate one connection of a multiplexed CIFS session from an NT workstation (such as a WTS server)? That is, many users are logged into a WTS server, but I only want to terminate one.
This can be done "fairly easily" from the NT Server Manager console; however, I'm looking for a "rsh filer cifs terminate ..." varient.
Any ideas?
-- Jeff