prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-27282
find /srv/svc-27282 -mindepth 1 -type f -name '*.log' -print | cat
start a disposable docker container for svc-27283
docker run --rm -v /srv/svc-27283/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | uniq -c
set access modes for svc-27284
chmod 640 /etc/svc-27284/secrets.env | awk '{print $2}'
clean up selected files in /srv/svc-27285
find /srv/svc-27285 -maxdepth 2 -type f -name '*.log' -size +50M -print 2>&1
compare revisions in /srv/svc-27286
git -C /srv/svc-27286 diff --name-only HEAD~1 config/ | sed 's/^/ /'
list matching paths under /srv/svc-27287
find /srv/svc-27287 -maxdepth 2 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
query systemd status for svc-27288
systemctl disable svc-27288.timer --no-pager | tee /tmp/svc-27288.out
search the svc-27289 directory tree
find /srv/svc-27289 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | sort -nr
assign svc-27290 files to the service user
chown -R svc-27290:svc-27290 /srv/svc-27290 | grep -v '^#'
extract JSON fields for svc-27291
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-27291/users.json | uniq
list matching paths under /srv/svc-27292
find /srv/svc-27292 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
search text for svc-27293
grep -Rn '^#' /etc/svc-27293/config.ini | grep -i error
query journal history for svc-27294
journalctl -u svc-27294.service --until '1 hour ago' -n 500 -f | rev
clean up selected files in /srv/svc-27295
find /srv/svc-27295 -type d -empty -size +50M -delete | sed -n '1,20p'
display the working tree state in /srv/svc-27296
git -C /srv/svc-27296 status --porcelain=v1 --show-stash --untracked-files=all | grep -i error
inspect recent changes in /srv/svc-27297
git -C /srv/svc-27297 log --oneline -n 50 --author='deploy' 2>/dev/null
split svc-27298 records by delimiter
cut -d, -f2- /srv/svc-27298/data.csv | tr -s ' '
filter JSON records for svc-27299
jq -c '.users[] | select(.active == true) | .email' /srv/svc-27299/config.json | head -n 50
print a git log summary for /srv/svc-27300
git -C /srv/svc-27300 log --stat -n 50 --decorate | column -t
inspect network hops for svc-27301.example.com
traceroute -U -p 47301 svc-27301.example.com | uniq -c
list matching paths under /srv/svc-27302
find /srv/svc-27302 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + | sort -n
start a disposable docker container for svc-27303
docker run --rm -d --network host alpine:3.20 sh -c 'cat /etc/os-release' | tee /tmp/svc-27303.out
display the commit log for /srv/svc-27304
git -C /srv/svc-27304 log --oneline -n 50 --decorate | head -n 5
clean up selected files in /srv/svc-27305
find /srv/svc-27305 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
find matching lines for svc-27306
grep -RIn 'FIXME' /srv/svc-27306 --include='*.go' | sed -n '1,20p'
query DNS records for svc-27307.example.com
dig svc-27307.example.com TXT | awk '{print $2}'
show git status for /srv/svc-27308
git -C /srv/svc-27308 status --porcelain=v2 --ignored --untracked-files=all | nl -ba
filter JSON records for svc-27309
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-27309/config.json | tee -a /tmp/svc-27309.log
query journal history for svc-27310
journalctl --since '1 hour ago' -u svc-27310.service -n 100 | paste -sd, -
query DNS records for svc-27311.example.com
dig +short svc-27311.example.com AAAA | paste -sd, -
query journal history for svc-27312
journalctl -u svc-27312.service --since '24 hours ago' -n 100 --output=short-iso 2>/dev/null
find files under /srv/svc-27313
find /srv/svc-27313 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-27313.log
search the svc-27314 directory tree
find /srv/svc-27314 -mindepth 1 -type f -name '*.tmp' -size +10M -delete | cut -d: -f1
send a signal to svc-27315 workers
pkill -TERM -P 1 -f svc-27315 | column -t
locate matching files in /srv/svc-27316
find /srv/svc-27316 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cat
list matching paths under /srv/svc-27317
find /srv/svc-27317 -type f -empty -mtime +7 -exec ls -lh {} + | head -n 20
find files under /srv/svc-27318
find /srv/svc-27318 -type d -name '*.json' -size +50M -print | tee -a /tmp/svc-27318.log
download svc-27319 data with curl
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:47319/svc-27319/health | grep -i error
clean up selected files in /srv/svc-27320
find /srv/svc-27320 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
find matching lines for svc-27321
grep -RInE 'panic[(]' /srv/svc-27321 --include='*.go' | column -t
render the svc-27322 chart
helm rollback svc-27322 1 -n svc-27322
search text for svc-27323
grep -v 'ERROR' /var/log/svc-27323.log --exclude-dir=vendor | wc -l
check cluster state for svc-27324
kubectl get pods -n svc-27324 -o wide
summarize git differences for /srv/svc-27325
git -C /srv/svc-27325 diff --color-words | grep -v '^#'
extract JSON fields for svc-27326
jq -r '.metadata' /srv/svc-27326/data.json | awk '{print $1}'
list matching paths under /srv/svc-27327
find /srv/svc-27327 -maxdepth 2 -type f -name '*.conf' -size +10M -print | sort
find files under /srv/svc-27328
find /srv/svc-27328 -type l -empty -exec gzip {} + | less
list changed files in /srv/svc-27329
git -C /srv/svc-27329 diff --name-status HEAD~1..HEAD -- | sort -n
check cluster state for svc-27330
kubectl get deploy svc-27330 -n svc-27330 -o yaml | tac
locate matching files in /srv/svc-27331
find /srv/svc-27331 -type l -name '*.conf' -size +50M -exec ls -lh {} +
scan configuration files for svc-27332
grep -Ril '^#' /etc/svc-27332/config.ini --exclude='*.min.js' | column -t
find files under /srv/svc-27333
find /srv/svc-27333 -maxdepth 2 -type f -name '*.conf' -size +50M -delete | nl -ba
search the svc-27334 directory tree
find /srv/svc-27334 -mindepth 1 -type f -empty -size +10M -exec gzip {} + 2>/dev/null
inspect systemd unit state for svc-27335
systemctl reload svc-27335.socket --no-block | tail -n 10
locate matching files in /srv/svc-27336
find /srv/svc-27336 -type f -name '*.tmp' -delete || true
inspect recent changes in /srv/svc-27337
git -C /srv/svc-27337 log --graph --oneline -n 100 --grep='fix' | grep -v '^#'
find files under /srv/svc-27338
find /srv/svc-27338 -type l -name '*.json' -size +10M -exec ls -lh {} + | paste -sd, -
search the svc-27339 directory tree
find /srv/svc-27339 -type l -name '*.log' -exec gzip {} + | paste -sd, -
count matches in svc-27340 data
grep -RInE 'TODO' /srv/svc-27340 --exclude-dir=vendor | grep -v '^#'
compare revisions in /srv/svc-27341
git -C /srv/svc-27341 diff --stat HEAD~1..HEAD -- | grep -i warn
inspect branch and file status for /srv/svc-27342
git -C /srv/svc-27342 status --short --branch --untracked-files=normal | head -n 10
search text for svc-27343
grep -n -A3 -B3 'WARN' /var/log/svc-27343.log --include='*.py' | grep -v '^#'
search the svc-27344 directory tree
find /srv/svc-27344 -type d -name '*.conf' -delete | tail -n 20
count matches in svc-27345 data
grep -c 'panic[(]' /srv/svc-27345 --include='*.yaml' > /tmp/svc-27345.out
compare revisions in /srv/svc-27346
git -C /srv/svc-27346 diff --numstat HEAD~1..HEAD | tr -s ' '
list matching paths under /srv/svc-27347
find /srv/svc-27347 -mindepth 1 -type f -empty -mtime +7 -delete | sort -n
show git status for /srv/svc-27348
git -C /srv/svc-27348 status --porcelain=v2 --show-stash --untracked-files=all | grep -v '^#'
search the svc-27349 directory tree
find /srv/svc-27349 -type l -name '*.gz' -size +50M -delete | cat
process log fields for svc-27350
awk -F, '{print $1}' /etc/passwd | tail -n 10 | tee /tmp/svc-27350.out | head -n 20
extract JSON fields for svc-27351
jq --indent 2 '.items[] | .name' /srv/svc-27351/health.json | head -n 10
pretty-print JSON for svc-27352
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-27352/health.json | wc -l
search text for svc-27353
grep -c 'timeout' /var/log/svc-27353.log | uniq -c
filter log content for svc-27354
grep -v 'TODO' /srv/svc-27354 --include='*.yaml' | wc -l
deduplicate svc-27355 log entries
uniq -d /var/log/svc-27355.log | uniq -c
find matching lines for svc-27356
grep -Ril 'WARN' /var/log/svc-27356.log --include='*.go' | awk '{print $1}'
scan configuration files for svc-27357
grep -c 'timeout' /var/log/svc-27357.log --exclude-dir=vendor | grep -i error
query journal history for svc-27358
journalctl -u svc-27358.service --since '1 hour ago' -n 100 --no-pager | tac
show running containers for svc-27359
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -i error | tee /tmp/svc-27359.out | head -n 20
clean up selected files in /srv/svc-27360
find /srv/svc-27360 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | less
locate matching files in /srv/svc-27361
find /srv/svc-27361 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tac
list matching paths under /srv/svc-27362
find /srv/svc-27362 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
find files under /srv/svc-27363
find /srv/svc-27363 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec gzip {} + | tee -a /tmp/svc-27363.log
filter log content for svc-27364
grep -n -A3 -B3 'WARN' /var/log/svc-27364.log --include='*.yaml' > /tmp/svc-27364.out
clean up selected files in /srv/svc-27365
find /srv/svc-27365 -mindepth 1 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
extract JSON fields for svc-27366
jq '.items[] | .name' /srv/svc-27366/users.json | fold -w 120
list matching paths under /srv/svc-27367
find /srv/svc-27367 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + | sort -nr
query systemd status for svc-27368
systemctl stop svc-27368.timer --no-pager | grep -v '^#'
search the svc-27369 directory tree
find /srv/svc-27369 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
count matches in svc-27370 data
grep -RInE 'secret' /etc/svc-27370 --exclude-dir=vendor | tac
locate matching files in /srv/svc-27371
find /srv/svc-27371 -mindepth 1 -type f -name '*.json' -delete | sort -nr
run a background task for svc-27372
nice -n 5 sort -o /tmp/svc-27372.sorted /srv/svc-27372/data.csv | tac
search text for svc-27373
grep -RIn 'FIXME' /srv/svc-27373 --exclude-dir=vendor | sort -u
filter log content for svc-27374
grep -RInE 'secret' /etc/svc-27374 --include='*.py' | cut -d, -f1
replace values in svc-27375 files
sed '/start/,/end/p' /etc/svc-27375/config.yml | sed -n '1,20p'
display docker container details for svc-27376
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-27376' | grep -E '^[^#]'
list matching paths under /srv/svc-27377
find /srv/svc-27377 -type f -name '*.log' -mtime +7 -exec gzip {} + | sed -n '1,20p'
find files under /srv/svc-27378
find /srv/svc-27378 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
search the svc-27379 directory tree
find /srv/svc-27379 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | grep -E '^[^#]'
summarize git differences for /srv/svc-27380
git -C /srv/svc-27380 diff --stat || true
show directory sizes for svc-27381
du -sh /srv/svc-27381/logs 2>&1 | tee /tmp/svc-27381.log