Monitor pfsense realtime with timestamps??
-
If I wanted to what happened in realtime with timestamps, how would one achieve that?
System logs are no good.
I want to see what process did what at what time!
How to acccomplish that?
-
Have you seen? https://forum.pfsense.org/index.php?topic=91856.msg527135#msg527135
-
Nope but I have now ;)
Thanks man.
-
If I wanted ?see? to what happened in realtime with timestamps, how would one achieve that?
System logs are no good.
I want to see what process did what at what time!
How to acccomplish that?
What do you mean by timestamps?
When some code started or finished or both or any other condition you can think of?
What about knowing what core it was running on?
What about knowing what thread it was running on?
Do you also need to see how much memory its using?
Do you also need to see what resources its using?
Resources being storage eg hdd, nic's, console, usb, and anything else that might get plugged into it, and/or communicate with ie downloading updates, uploading information? -
This
Jun 5 12:44:56 check_reload_status: Reloading filter
Jun 5 12:44:55 check_reload_status: Syncing firewall
Jun 5 12:44:52 check_reload_status: updating dyndns lanI want to see every little thing going on and what every process is doing.
I want to see when CRON jobs have run in the logs asf. EVERYTHING!! :D
Like logging a car engine when its modified.
Chose WHAT you want to monitor and let it run…
Beeing able to specifically see what triggers what.
-
Sounds like you want trace/debug logging. Kernels don't do that because of the huge performance hit. In some cases, something like 1/10th the speed. Kernels have very tight code and adding calls to log, would be horrible for performance. Kernels typically only log major events, initialization, and transitions. If you want logs from applications, then it's up to the application to do the logging.
For everything else, there is DTrace.
My limited understanding of logging.