[Crash-utility] cacheutils extension module update

Dave Anderson anderson at redhat.com
Mon Sep 30 20:16:32 UTC 2019



----- Original Message -----
> Hi Dave,
> 
> I've enhanced my cacheutils extension module, and now it has three commands
> "ccat", "cls" and "cfind".
> 
>   https://github.com/k-hagio/crash-cacheutils
> 
> Could you please update the command help pages in your extensions page?

Done!

Thanks,
  Dave

> 
> 
> Main changes:
> 
> - Add a new "ccat -d" option that extracts a directory and its contents
>   with one command:
> 
>     crash> ccat -d /var/log /tmp/log
>     Extracting /var/log to /tmp/log...
>     done.
> 
> - Add a new "cfind" command that can be used to search for files through
>   a specific directory or the whole file system:
> 
>     crash> cfind / | grep messages
>     ffff88010113be00 /var/log/messages
>     ffff880449f86b40 /usr/lib/python2.7/site-packages/babel/messages
> 
> - Add a new "cfind -c" option that counts the number of directory entries
>   in a directory and its subdirectories:
> 
>     crash> cfind -c /boot
>       TOTAL DENTRY N_DENT PATH
>          18     12      6 /boot
>           8      6      2 /boot/grub2
>          34     34      0 /boot/grub2/locale
>         268    268      0 /boot/grub2/i386-pc
>           1      1      0 /boot/grub2/fonts
>           1      1      0 /boot/efi
>           2      1      1 /boot/efi/EFI
>           3      0      3 /boot/efi/EFI/redhat
>         335    323     12 TOTAL
> 
> - Add a new "-n" option to each command to support mount namespaces.
> 
> Thanks,
> Kazu
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list