You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by wilderrodrigues <gi...@git.apache.org> on 2015/07/01 07:35:43 UTC

[GitHub] cloudstack pull request: Cleanup stale files in /tmp which is fill...

Github user wilderrodrigues commented on the pull request:

    https://github.com/apache/cloudstack/pull/531#issuecomment-117441768
  
    LGTM
    
    I executed the command on one of my machines and it's fine - although my eyes could already see it was.
    
    Result:
    
    [wrodrigues@mct-wrodrigues ~]$ sudo find /tmp -type f -mtime +2 | grep -v "`sudo lsof | grep /tmp |awk '{print $9}'|sed -e '1 d' |sort |uniq | tr \\n \|`"
    /tmp/libvirt/pool_images.xml
    /tmp/libvirt/pool_iso.xml
    
    Remark: I removed the "| xargs sudo rm -vf" part because I did not want to remove my files
    
    Cheers,
    Wilder


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---