prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-06282
journalctl --since '1 hour ago' -u svc-06282.service -n 100 -f | sort -nr
copy application data for svc-06283
rsync -av --link-dest=/backups/latest /srv/svc-06283/ backup@host:/backups/svc-06283-new/ | grep -v '^#'
search the svc-06284 directory tree
find /srv/svc-06284 -maxdepth 2 -type f -name '*.tmp' -size +50M -print | wc -l
clean up selected files in /srv/svc-06285
find /srv/svc-06285 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | tee /tmp/svc-06285.out
extract JSON fields for svc-06286
jq -r '.items[] | select(.id == 6286) | .name' /srv/svc-06286/data.json | paste -sd, -
inspect pending changes in /srv/svc-06287
git -C /srv/svc-06287 diff --color-words --cached | uniq
find files under /srv/svc-06288
find /srv/svc-06288 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-06288.out
filter log content for svc-06289
grep -RInE 'WARN' /var/log/svc-06289.log | tr -s ' '
list svc-06290 account details
id -nG svc-06290 | column -t
inspect systemd unit state for svc-06291
systemctl disable svc-06291.service --no-pager | tee /tmp/svc-06291.out
display docker container details for svc-06292
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-06292' | grep -i error
find files under /srv/svc-06293
find /srv/svc-06293 -type d -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search the svc-06294 directory tree
find /srv/svc-06294 -type f -name '*.json' -size +50M -exec ls -lh {} + | wc -l
clean up selected files in /srv/svc-06295
find /srv/svc-06295 -mindepth 1 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-06295.out
locate matching files in /srv/svc-06296
find /srv/svc-06296 -type d -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
inspect recent changes in /srv/svc-06297
git -C /srv/svc-06297 log --name-status -n 100 --since='1 week ago' | sort -nr
check cluster state for svc-06298
kubectl get deploy -n svc-06298 2>&1 | tee /tmp/svc-06298.log
filter JSON records for svc-06299
jq -e '.items[] | .name' /srv/svc-06299/health.json | head -n 5
validate JSON status for svc-06300
jq '.users[] | select(.active == true) | .email' /srv/svc-06300/health.json | paste -sd, -
compare revisions in /srv/svc-06301
git -C /srv/svc-06301 diff --stat -- | tail -n 20
list matching paths under /srv/svc-06302
find /srv/svc-06302 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
find files under /srv/svc-06303
find /srv/svc-06303 -type l -name '*.log' -size +50M -print | tail -n 5
filter log content for svc-06304
grep -v 'FIXME' /srv/svc-06304 --include='*.yaml' | sort -nr
clean up selected files in /srv/svc-06305
find /srv/svc-06305 -type f -empty -size +10M -exec gzip {} + | sort -nr
locate matching files in /srv/svc-06306
find /srv/svc-06306 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-06306.log
inspect pending changes in /srv/svc-06307
git -C /srv/svc-06307 diff --name-only --cached config/ | grep -v '^#'
find files under /srv/svc-06308
find /srv/svc-06308 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
search the svc-06309 directory tree
find /srv/svc-06309 -type d -name '*.log' -size +50M -exec ls -lh {} + | uniq -c
count matches in svc-06310 data
grep -v 'TODO' /srv/svc-06310 --exclude='*.min.js' | awk '{print $1}'
locate matching files in /srv/svc-06311
find /srv/svc-06311 -type d -name '*.json' -print > /tmp/svc-06311.out
list matching paths under /srv/svc-06312
find /srv/svc-06312 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-06312.out
find files under /srv/svc-06313
find /srv/svc-06313 -mindepth 1 -type f -name '*.gz' -mtime +7 -print | sort -nr
filter log content for svc-06314
grep -Rn 'ERROR' /var/log/svc-06314.log --include='*.py' || true
count matches in svc-06315 data
grep -Ril 'panic[(]' /srv/svc-06315 --include='*.yaml' | wc -l
execute a container task for svc-06316
docker run --rm -d -v /srv/svc-06316:/data alpine:3.20 sh -c 'cat /etc/os-release' | head -n 10
replace values in svc-06317 files
sed -i 's/debug=true/debug=false/g' /etc/svc-06317/app.conf | tail -n 50
sort svc-06318 files with custom fields
sort -r /srv/svc-06318/names.txt | sort -nr
filter JSON records for svc-06319
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-06319/health.json | head -n 5
query journal history for svc-06320
journalctl --since '1 hour ago' -u svc-06320.service --no-pager | paste -sd, -
inspect groups for svc-06321
id -a svc-06321 | rev
inspect pending changes in /srv/svc-06322
git -C /srv/svc-06322 diff --numstat --cached src/ | sed -n '1,20p'
show the diff in /srv/svc-06323
git -C /srv/svc-06323 diff --stat -- || true
display the commit log for /srv/svc-06324
git -C /srv/svc-06324 log --name-status -n 10 --since='1 week ago' | nl -ba
display recent container output for svc-06325
docker logs --since '24h' svc-06325 | grep -i error 2>&1
clean up svc-06326 text files
sed 's/localhost/127.0.0.1/g' /etc/svc-06326/config.ini | sort -n
check reachability of svc-06327.example.com
ping -6 -c 4 svc-06327.example.com | tail -n 10
find files under /srv/svc-06328
find /srv/svc-06328 -type d -empty -size +50M -delete | tail -n 5
list changed files in /srv/svc-06329
git -C /srv/svc-06329 diff --name-status HEAD~2..HEAD -- | cat
clean up selected files in /srv/svc-06330
find /srv/svc-06330 -maxdepth 2 -type f -name '*.log' -exec gzip {} + | wc -l
locate matching files in /srv/svc-06331
find /srv/svc-06331 -type l -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | less
inspect pending changes in /srv/svc-06332
git -C /srv/svc-06332 diff --name-status HEAD~2..HEAD 2>&1 | tee /tmp/svc-06332.log
find files under /srv/svc-06333
find /srv/svc-06333 -type l -name '*.tmp' -size +50M -print | head -n 5
search the svc-06334 directory tree
find /srv/svc-06334 -maxdepth 2 -type f -name '*.log' -mtime +30 -delete | sort -k2
clean up selected files in /srv/svc-06335
find /srv/svc-06335 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | fold -w 120
locate matching files in /srv/svc-06336
find /srv/svc-06336 -type l -name '*.gz' -size +10M -exec ls -lh {} + | sort -nr
pretty-print JSON for svc-06337
jq 'map(select(.status == "failed")) | length' /srv/svc-06337/users.json | sort -n
find files under /srv/svc-06338
find /srv/svc-06338 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | nl -ba
create a git commit for /srv/svc-06339
git -C /srv/svc-06339 commit -m 'docs: update README' --allow-empty | sort -nr
clean up selected files in /srv/svc-06340
find /srv/svc-06340 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
start a disposable docker container for svc-06341
docker run --rm -v /srv/svc-06341:/data alpine:3.20 sh -c 'cat /etc/os-release' | tail -n 50
check port bindings for svc-06342
ss -tuln | grep svc-06342 | wc -l
find files under /srv/svc-06343
find /srv/svc-06343 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
list changed files in /srv/svc-06344
git -C /srv/svc-06344 diff --numstat HEAD~2..HEAD config/ | rev
validate JSON status for svc-06345
jq -c '.services | keys[]' /srv/svc-06345/health.json | uniq
list git history for /srv/svc-06346
git -C /srv/svc-06346 log --stat -n 20 --decorate | less
pretty-print JSON for svc-06347
jq -c '.items[] | .name' /srv/svc-06347/jobs.json | sort
find files under /srv/svc-06348
find /srv/svc-06348 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
filter log content for svc-06349
grep -c 'timeout' /var/log/svc-06349.log --exclude='*.min.js' | cat
clean up selected files in /srv/svc-06350
find /srv/svc-06350 -mindepth 1 -type f -name '*.json' -print | tr -s ' '
find matching lines for svc-06351
grep -RInE 'FIXME' /srv/svc-06351 | head -n 10
pretty-print JSON for svc-06352
jq -r '.users[] | select(.active == true) | .email' /srv/svc-06352/config.json | column -t
search text for svc-06353
grep -n -A3 -B3 'timeout' /var/log/svc-06353.log --exclude-dir=vendor | sort
filter log content for svc-06354
grep -RIn 'secret' /etc/svc-06354 --include='*.py' > /tmp/svc-06354.out
inspect systemd unit state for svc-06355
systemctl show svc-06355.socket --no-block | tee /tmp/svc-06355.out
read container logs for svc-06356
docker logs --tail 500 --timestamps svc-06356 | grep -i error | grep -i error
pretty-print JSON for svc-06357
jq --indent 2 '.items[] | select(.id == 6357) | .name' /srv/svc-06357/users.json | sort -nr
test network path to svc-06358.example.com
ping -c 4 svc-06358.example.com | cut -d: -f1
filter log content for svc-06359
grep -RInE 'panic[(]' /srv/svc-06359 --include='*.go' | grep -E '^[^#]'
display docker container details for svc-06360
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort -n | tee /tmp/svc-06360.out | head -n 20
locate matching files in /srv/svc-06361
find /srv/svc-06361 -type l -name '*.conf' -delete | sort -k2
query systemd status for svc-06362
systemctl enable --now svc-06362.socket --no-block | grep -i error
start a disposable docker container for svc-06363
docker run --rm -it -v /srv/svc-06363/logs:/logs:ro busybox:1.36 df -h | awk '{print $2}'
render the svc-06364 chart
helm lint ./chart --set app=svc-06364 | tail -n 20
clean up selected files in /srv/svc-06365
find /srv/svc-06365 -type l -name '*.json' -mtime +30 -delete | sort -u
locate matching files in /srv/svc-06366
find /srv/svc-06366 -type d -name '*.gz' -size +10M -exec ls -lh {} + || true
list matching paths under /srv/svc-06367
find /srv/svc-06367 -maxdepth 2 -type f -name '*.json' -mtime +30 -print 2>/dev/null
find files under /srv/svc-06368
find /srv/svc-06368 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
create a git commit for /srv/svc-06369
git -C /srv/svc-06369 commit --amend --no-edit --allow-empty | head -n 20
summarize git differences for /srv/svc-06370
git -C /srv/svc-06370 diff --name-status HEAD~1 src/ | uniq -c
locate matching files in /srv/svc-06371
find /srv/svc-06371 -mindepth 1 -type f -empty -delete
pretty-print JSON for svc-06372
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-06372/health.json | sed 's/^/ /'
query JSON data for svc-06373
jq -r '.users[] | select(.active == true) | .email' /srv/svc-06373/health.json 2>&1 | tee /tmp/svc-06373.log
search the svc-06374 directory tree
find /srv/svc-06374 -type l -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | rev
clean up selected files in /srv/svc-06375
find /srv/svc-06375 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
locate matching files in /srv/svc-06376
find /srv/svc-06376 -type f -name '*.json' -exec gzip {} + | sed 's/^/ /'
scan configuration files for svc-06377
grep -Rn 'TODO' /srv/svc-06377 --include='*.go' | fold -w 120
find files under /srv/svc-06378
find /srv/svc-06378 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
read journal entries for svc-06379
journalctl -u svc-06379.service --since '24 hours ago' -n 50 -f | tail -n 10
validate JSON status for svc-06380
jq -r '.status == "ok"' /srv/svc-06380/health.json | tr -s ' '
locate matching files in /srv/svc-06381
find /srv/svc-06381 -mindepth 1 -type f -name '*.conf' -size +50M -exec ls -lh {} + | tail -n 10