Hi Sid,
Here is a working solution using logmon and a Linux command. You can adjust to your particular needs to count folders in a specific directory, in this example, just /:
For a command on Windows here is an example, something like this:
cmd /C netstat -an|findstr "4800"
Best Regards,
Steve
------------------------------
Support Engineer
Broadcom
US
------------------------------
Original Message:
Sent: 05-29-2020 03:10 PM
From: Sid
Subject: Dirscan capabilities
Hi Steve,
Thank you, But i am really not experienced with nexec, how do we run that? how Can i get notified when folder count increases a particular threshold?
or via logmon?
does this need to be used through command in logmon?
------------------------------
HCL Technologies
Original Message:
Sent: 05-29-2020 02:39 PM
From: Stephen Danseglio
Subject: Dirscan capabilities
Hi Sid,
Unfortunately dirscan cannot count the number of directories/folders but you should be able to use nexec probe or logmon with a script via a command like the following (in thi cas using Powershell on Windows):
PS C:\> Get-ChildItem -Directory | Measure-Object | Select-Object -Property Count
Steve
------------------------------
Support Engineer
Broadcom
US
Original Message:
Sent: 05-29-2020 01:46 PM
From: Sid
Subject: Dirscan capabilities
hi all,
i am trying to set up the folder count in D:\SLAN\apache-tomcat-8.5.29\webapps\leasing\WEB-INF\auditlog
apart from file there are folders created under auditlog dir.
Is this possible to monitor folder counts via dirscan?
------------------------------
HCL Technologies
------------------------------