parrot_lsalloc(1)

πŸ“¦
version 9.9 Β· 3 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– parrot_lsalloc β€” the manual page, bestie edition πŸ’–

okay so real quick: this is parrot_lsalloc(1), section 1 of the manual, and it's about to tell you how much space you've got in a Parrot allocation. buckle up πŸŽ€


✨ NAME ✨

parrot_lsalloc β€” list current status of a space allocation


🌸 SYNOPSIS 🌸

parrot_lsalloc [path]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: parrot_lsalloc peeks at a directory you hand it, figures out whether that directory lives inside a space allocation, and then spills the tea on the allocation size and how much of it is currently being used. literally that's it, that's the whole job πŸ’…

and like β€” as the name is giving, this command only runs correctly inside of the Parrot virtual file system, on file servers where space allocation is enabled. so if you're out here trying to run it somewhere else, that's not it, bestie. no cap.

the path argument is the directory you want examined. if you don't give one? the current directory is assumed. easy ✨


πŸŽ€ OPTIONS πŸŽ€

  • -h β€” show help text. that's the whole menu, she's lowkey minimalist πŸ™ˆ

πŸ’€ EXIT STATUS πŸ’€

on success, returns zero. slay. πŸŽ‰

on failure, returns non-zero. 😭

and if you attempt this on a filesystem that does not support space allocation, you get this absolute jumpscare of an error:

parrot_lsalloc: This filesystem does not support allocations.
not me getting this error and having to sit with it 🫠

🌈 EXAMPLES 🌈

want to list a space allocation on a Chirp server? say less, here's the whole run:

% parrot_run bash
% cd /chirp/myserver.somewhere.edu
% parrot_lsalloc bigdir
/chirp/myserver.somewhere.edu/bigdir
10 GB TOTAL
1 GB INUSE
9 GB AVAIL
% exit

look at those numbers. 10 GB TOTAL, 1 GB INUSE, 9 GB AVAIL. the math is mathing, the allocation is allocated, we love to see it πŸ‘‘


The Cooperative Computing Tools are Copyright (C) 2005-2019 The University of Notre Dame. This software is distributed under the GNU General Public License. See the file COPYING for details.


🫢 SEE ALSO 🫢


and that's the whole page, bestie πŸ’œ this one's from CCTools 8.0.0 DEVELOPMENT β€” so like, she's a development build, main character energy fr fr. go check your allocations, you icon 🌟✨

πŸ“¦ where this page comes from