Hi Folks,
I have an application of which logs are being made on unix machine at the back end , i open putty and access that location
Code:
cd /var/log/abc.log
but those logs are getting refreshed after every minute or on every request and response Now I am opening those logs on putty but please advise me the unix command so that my logs are also get refreshed on putty as the logs are gettin
Does the latest version of the Linux kernel (3.x) still use the Completely Fair Scheduler (CFS) for process scheduling which was introduced in 2.6.x ?
If it doesn't, which one does it use, and how does it work? Please provide a source.
I am studying the linux process scheduler but I can not figure out how to make the Gantt chart for this situation:
Process | Arrival | Burst Time | Sched.
I need to write a script in Linux which can start a background process using one command and stop the process using another.
The specific application is to take userspace and kernel logs for android.
following command should start taking logs
$ mylogscript start
following command should stop the logging
$ mylogscript stop
Also, the commands should not block the terminal.
How to allow user to access system only 1 hour in day using PAM?
For example I wish to give access to a user only for 1hr on a workstation in 24hrs. First the 24hr time period needs to be defined, as fixed time period like 00:00:00 to 23:59:59 or the time period should be counted from the time the user first logs in. One must also consider the possibility if the user logs in for 3 minutes.
Sometimes it happen that: for mistakes, because you don’t rotate your logs or perhaps they growth up really quickly, that you need to analyse a large file (> 1GB) for searching a specific pattern of text.
I recently noticed something odd on my nexus 7 (4.2.2 not rooted)... when the 'main' user logs on, all is well.. but if the second user I created logs in, the system_server process jumps to around 28% cpu and sits there. It didn't matter if the second user logs in first after a reboot our after the main user comes in.
I am developing an app that gets all the logs on the phone. I have completed call and sms logs. But I still need to get the logs of apps like whatsapp and viber. All of whatsapps logs seem to be encrypted. Can anyone pls tell me how to access these logs?
I know how to save and clear the logs in Windows, but I'd like to do the equivalent in Linux. I have a requirement to save those logs for a very long time. Could someone sort of spell out the command lines for each of those?