mirror of
https://github.com/azlux/log2ram
synced 2024-11-23 22:06:10 +00:00
Compare commits
No commits in common. "b3e8da8480876ee40ec15954788b96bd8a812519" and "3d7dda20293ef6e00cb596c4b4b318f295c90b6a" have entirely different histories.
b3e8da8480
...
3d7dda2029
26
README.md
26
README.md
@ -59,30 +59,14 @@ The log is also written to `/var/log/log2ram.log`.
|
||||
You can also inspect the mount folder in RAM with:
|
||||
|
||||
```bash
|
||||
df -hT | grep log2ram | awk '{print " Name: " $1 "\nMount: " $7 "\n Type: " $2 "\nUsage: " $6 "\n Size: " $3 "\n Used: " $4 "\n Free: " $5}'
|
||||
# df -hT | grep log2ram
|
||||
log2ram 40M 532K 40M 2% /var/log
|
||||
```
|
||||
Returns:
|
||||
```bash
|
||||
Name: log2ram
|
||||
Mount: /var/log
|
||||
Type: tmpfs
|
||||
Usage: 72%
|
||||
Size: 128M
|
||||
Used: 93M
|
||||
Free: 36M
|
||||
```
|
||||
|
||||
Or also:
|
||||
or also:
|
||||
|
||||
```bash
|
||||
mount | grep log2ram | awk -F'[ ()]+' '{print " Name: " $1 "\n Mount: " $3 "\n Type: " $5 "\nOptions: " $6}'
|
||||
```
|
||||
Returns:
|
||||
```bash
|
||||
Name: log2ram
|
||||
Mount: /var/log
|
||||
Type: tmpfs
|
||||
Options: rw,nosuid,nodev,noexec,noatime,size=131072k,mode=755,uid=100000,gid=100000,inode64
|
||||
# mount | grep log2ram
|
||||
log2ram on /var/log type tmpfs (rw,nosuid,nodev,noexec,relatime,size=40960k,mode=755)
|
||||
```
|
||||
|
||||
If you do not get any line as response of these commands, something is not working. Refer to [this section](#is-it-working).
|
||||
|
Loading…
Reference in New Issue
Block a user