1 | $ echo $list |
---|---|

2 | integration-slave-precise-1001.integration.eqiad.wmflabs integration-slave-precise-1002.integration.eqiad.wmflabs integration-slave-precise-1003.integration.eqiad.wmflabs integration-slave-precise-1004.integration.eqiad.wmflabs integration-slave-precise-1014.integration.eqiad.wmflabs integration-slave-trusty-1014.integration.eqiad.wmflabs integration-slave-trusty-1015.integration.eqiad.wmflabs integration-slave-trusty-1017.integration.eqiad.wmflabs integration-slave-trusty-1018.integration.eqiad.wmflabs integration-slave-trusty-1020.integration.eqiad.wmflabs integration-slave-trusty-1023.integration.eqiad.wmflabs |

3 | |

4 | (some stuff snipped like making sure they all have the directory, that the find command is right, etc) |

5 | |

6 | $ for i in $list; do echo $i; ssh -l root $i '(cd /mnt/jenkins-workspace/workspace; find . -mindepth 1 -maxdepth 1 -mmin +180 -exec rm -rf {} \;)'; done |

7 | integration-slave-precise-1001.integration.eqiad.wmflabs |

8 | integration-slave-precise-1002.integration.eqiad.wmflabs |

9 | integration-slave-precise-1003.integration.eqiad.wmflabs |

10 | integration-slave-precise-1004.integration.eqiad.wmflabs |

11 | integration-slave-precise-1014.integration.eqiad.wmflabs |

12 | integration-slave-trusty-1014.integration.eqiad.wmflabs |

13 | integration-slave-trusty-1015.integration.eqiad.wmflabs |

14 | integration-slave-trusty-1017.integration.eqiad.wmflabs |

15 | integration-slave-trusty-1018.integration.eqiad.wmflabs |

16 | integration-slave-trusty-1020.integration.eqiad.wmflabs |

17 | integration-slave-trusty-1023.integration.eqiad.wmflabs |

18 | |

19 | $ for i in $list; do echo $i; ssh -l root $i df -h /mnt; doneintegration-slave-precise-1001.integration.eqiad.wmflabs |

20 | Filesystem Size Used Avail Use% Mounted on |

21 | /dev/mapper/vd-second--local--disk 22G 328M 20G 2% /mnt |

22 | integration-slave-precise-1002.integration.eqiad.wmflabs |

23 | Filesystem Size Used Avail Use% Mounted on |

24 | /dev/mapper/vd-second--local--disk 22G 282M 20G 2% /mnt |

25 | integration-slave-precise-1003.integration.eqiad.wmflabs |

26 | Filesystem Size Used Avail Use% Mounted on |

27 | /dev/mapper/vd-second--local--disk 22G 257M 20G 2% /mnt |

28 | integration-slave-precise-1004.integration.eqiad.wmflabs |

29 | Filesystem Size Used Avail Use% Mounted on |

30 | /dev/mapper/vd-second--local--disk 22G 782M 20G 4% /mnt |

31 | integration-slave-precise-1014.integration.eqiad.wmflabs |

32 | Filesystem Size Used Avail Use% Mounted on |

33 | /dev/mapper/vd-second--local--disk 61G 1.2G 57G 3% /mnt |

34 | integration-slave-trusty-1014.integration.eqiad.wmflabs |

35 | Filesystem Size Used Avail Use% Mounted on |

36 | /dev/mapper/vd-second--local--disk 61G 17G 42G 28% /mnt |

37 | integration-slave-trusty-1015.integration.eqiad.wmflabs |

38 | Filesystem Size Used Avail Use% Mounted on |

39 | /dev/mapper/vd-second--local--disk 61G 19G 39G 33% /mnt |

40 | integration-slave-trusty-1017.integration.eqiad.wmflabs |

41 | Filesystem Size Used Avail Use% Mounted on |

42 | /dev/mapper/vd-second--local--disk 61G 17G 41G 30% /mnt |

43 | integration-slave-trusty-1018.integration.eqiad.wmflabs |

44 | Filesystem Size Used Avail Use% Mounted on |

45 | /dev/mapper/vd-second--local--disk 61G 11G 48G 18% /mnt |

46 | integration-slave-trusty-1020.integration.eqiad.wmflabs |

47 | Filesystem Size Used Avail Use% Mounted on |

48 | /dev/mapper/vd-second--local--disk 21G 882M 19G 5% /mnt |

49 | integration-slave-trusty-1023.integration.eqiad.wmflabs |

50 | Filesystem Size Used Avail Use% Mounted on |

51 | /dev/mapper/vd-second--local--disk 140G 18G 115G 14% /mnt |

Paste P2587

# integration diskspace cleanup

integration diskspace cleanup

Authored by

**ArielGlenn**on Feb 10 2016, 7:45 PM.Tags

Subscribers

*None*