Add documentation for du, df & dtrace (#2247)

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
pull/2433/head
Dhruva Sagar 2 years ago committed by GitHub
parent 55379e94ec
commit da09b4fa3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/135-dtrace.md
  2. 5
      content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/138-df.md
  3. 17
      content/roadmaps/102-devops/content/102-managing-servers/101-live-in-terminal/140-du.md

@ -1 +1,7 @@
# Dtrace
# DTrace
DTrace is a comprehensive dynamic tracing framework ported from Solaris. DTrace provides a powerful infrastructure that permits administrators, developers, and service personnel to concisely answer arbitrary questions about the behavior of the operating system and user programs.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://man7.org/linux/man-pages/man1/dtrace.1.html'>df manual</BadgeLink>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://en.wikipedia.org/wiki/DTrace'>Wikipedia - DTrace</BadgeLink>

@ -3,5 +3,6 @@
`df` is a standard Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access. df is typically implemented using the statfs or statvfs system calls.
<ResourceGroupTitle>Useful Links</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Man page' href='https://linux.die.net/man/1/df'>df man page</BadgeLink>
<BadgeLink colorScheme='blue' badgeText='Tutorial' href='https://www.geeksforgeeks.org/df-command-linux-examples/'>df command with examples</BadgeLink>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://man7.org/linux/man-pages/man1/df.1.html'>df manual</BadgeLink>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://www.redhat.com/sysadmin/Linux-df-command'>Redhat - Check your disk space use with the Linux df command</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.geeksforgeeks.org/df-command-linux-examples/'>df command with examples</BadgeLink>

@ -1,15 +1,8 @@
# Du
The du (**D**isk **U**sage) command is used to retrieve information about disk space usage information in a specified directory.
The `du` utility, short for disk usage, displays the file system block usage for each file argument and for each directory in the file hierarchy rooted in each directory argument. If no file is specified, the block usage of the hierarchy rooted in the current directory is displayed.
the basic syntax of the command is the following:
`du <directory name>` or `du`
Usage Example:
`du /home/nirzak`
It can be used with various flags to customize the outputs. See the man page of this command for more options `man du`
<ResourceGroupTitle>Useful Links</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Man page' href='https://man7.org/linux/man-pages/man1/du.1.html'>du man page</BadgeLink>
<BadgeLink colorScheme='blue' badgeText='Tutorial' href='https://linuxhint.com/linux-du-command-examples/'>Du command with examples</BadgeLink>
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://man7.org/linux/man-pages/man1/du.1.html'>du manual</BadgeLink>
<BadgeLink badgeText='Read' colorScheme='yellow' href='https://www.redhat.com/sysadmin/du-command-options'>Redhat - du and the options you should be using</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://linuxhint.com/linux-du-command-examples/'>Du command with examples</BadgeLink>

Loading…
Cancel
Save