LGSEND(1)
π LGSEND(1) β bestie edition π
okay so this is lgsend, the ION Load/Go command program, from the BP executables crew. pull up a chair, we're gonna send some files across a whole interplanetary network and it's gonna be adorable. π¦
β¨ SYNOPSIS β¨
lgsend command_file_name own_endpoint_ID destination_endpoint_ID
three lil args, one big slay. π«
πΈ DESCRIPTION πΈ
So ION Load/Go is, like, a whole system for managing an ION-based network β it lets you run ION admin programs on remote nodes instead of physically trekking over there like it's the 1800s. πΆββοΈ And this system is just two programs, bestie: lgsend and lgagent. That's it. Power duo. Dynamic duo. the way that two programs run an entire remote admin pipelineβ¦ π
The lgsend program does the sending half. It reads a Load/Go source file off your local file system, wraps the text of that file up in a bundle (yes, like a lil gift π), and ships that bundle off to an lgagent task that's sitting there waiting for data at a designated DTN endpoint on the remote node. patiently waiting. manifesting.
Here's the actual play-by-play, no cap:
- It reads all the lines of the Load/Go source file you named in
command_file_nameinto a temporary buffer in ION's SDR data store β concatenating the lines and keeping every single newline character. all of them. every one. π«Ά - Then it invokes the
bp_send()function to create and send a bundle whose payload is that temporary buffer, whose destination isdestination_endpoint_ID, and whose source endpoint ID isown_endpoint_ID. - Then it terminates. bye! π
π₯ EXIT STATUS π₯
0β Load/Go file transmission succeeded. we ate!! π1β Load/Go file transmission failed. π Examineion.logto figure out what went wrong, then re-run. the log knows. the log always knows. π
π FILES π
lgfileβ contains the Load/Go file capsules and directive that are to be sent to the remote node. it's giving very important cargo energy. π¦
π§ ENVIRONMENT π§
No environment variables apply. nothing. zero. the environment is at peace. π§ββοΈ
β DIAGNOSTICS β
The following diagnostics may be issued to the ion.log log file. aka the group chat where everything gets screenshotted π±:
lgsend: can't attach to BP.Bundle Protocol is not running on this computer. Runbpadmin(1)to start BP. it's not here bestie. wake it up. β°lgsend: can't open own endpoint.own_endpoint_IDis not a declared endpoint on the local ION node. Runbpadmin(1)to add it. declare it or it doesn't exist, that's the rule. πlgsend: can't open file of LG commands: error descriptioncommand_file_namedoesn't identify a file that can be opened. Fix the spelling of the file name or the file's access permissions. typo check first, always. πlgsend: can't get size of LG command file: error descriptionOperating system problem. Investigate and correct before rerunning. sounds like a whole situation ngl π¬lgsend: LG cmd file size > 64000.Load/Go command file is too large. Split it into multiple files if possible. it's not a skill issue, it's a size issue. βοΈlgsend: no space for application data unit.ION system problem: have exhausted available SDR data store reserves. the data store said "no more, I'm full" πlgsend: fgets failed: error descriptionOperating system problem. Investigate and correct before rerunning. π οΈlgsend: can't create application data unit.ION system problem: have exhausted available SDR data store reserves. same vibe, different function. πlgsend: can't send bundle.ION system problem. Investigate and correct before rerunning. the bundle simply did not go. tragic. π
π BUGS π
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>. tell them everything, they wanna know π«Ά
π SEE ALSO π
the whole friend group. go read them all. iykyk. π
and that's the tea, bestie β this page came from perl v5.24.1, dated 2016-07-07, under LGSEND(1). periodt. β¨π
π¦ where this page comes from
- ubuntu jammy: ion 3.2.1+dfsg-1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms