Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello friends.
Does anyone know a good method on CLI to display sessions per share/s? The man page for "cifs sessions" shows very few options.
I need to delete some CIFS shares that some users currently have locked files on. I have hundreds of users, so to go user by user is impossible. I would like to show session by share, so that I can pinpoint the couple of users locking files in the shares I need to remove (so that I can then copy them to new shares).
Thanks,
John
Solved! See The Solution
1 ACCEPTED SOLUTION
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 REPLIES 4
migration has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this:
netapp> cifs sessions *
(note the ' * ')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perfection, just pure perfection. Thanks!
I also didn't realize I could plug the nbalias for cifs in to computer management snap-in and view the details that way.
Still, I like to know how to do this on CLI, your advice is a huge help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh yeah, I forgot about the Computer Management way...that works too. I guess I'm just a CLI guy at heart so my thoughts always go there first.
Anyway, glad it helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could be off base here (as am not looking at it right now) but I think that Systems Manager may be able to handle this as well.
"cifs sessions *" definitely is very cool though.
