All Apps and Add-ons

Counting open files with lsof in Unix app

timmy13
Communicator

I need a way to determine how many files a particular user has open at any given time. This data exists in the output of the lsof data in the *nix app. BUt since it's one big field, I am unsure of how to parse it to get counts of files by user. Any ideas?

0 Karma
1 Solution

araitz
Splunk Employee
Splunk Employee

Did you try:

index=os sourcetype=lsof | multikv

View solution in original post

harish_l
New Member

what is the maximum ulimit is splunk, by default minimum is 64000. anyone please let me know the maximum ulimit setting?

0 Karma

araitz
Splunk Employee
Splunk Employee

Did you try:

index=os sourcetype=lsof | multikv

timmy13
Communicator

Nice! Sometimes the simplest solution evades me. Thanks!

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...