cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wilderrodrigues <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Cleanup stale files in /tmp which is fill...
Date Wed, 01 Jul 2015 05:35:43 GMT
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.
---

Mime
View raw message