prompt
stringlengths
6
157
response
stringlengths
1
147
pretty-print JSON for svc-12182
jq -S '.users[] | select(.active == true) | .email' /srv/svc-12182/jobs.json >> /tmp/svc-12182.out
copy application data for svc-12183
rsync -av --bwlimit=5000 /srv/svc-12183/ backup@host:/backups/svc-12183/ | head -n 20
search the svc-12184 directory tree
find /srv/svc-12184 -type f -empty -mtime +7 -delete | head -n 20
read journal entries for svc-12185
journalctl -u svc-12185.service --since '24 hours ago' -n 50 --no-pager | tr -s ' '
locate matching files in /srv/svc-12186
find /srv/svc-12186 -type l -name '*.log' -size +50M -print 2>&1 | tee /tmp/svc-12186.log
download svc-12187 data with curl
curl -fsSL https://example.com/svc-12187.tar.gz -o /tmp/svc-12187.tar.gz | wc -l
process log fields for svc-12188
awk -F: '$9 == 500 {print $7}' /var/log/svc-12188/access.log | sort | uniq -c | uniq
filter JSON records for svc-12189
jq -S '.users[] | select(.active == true) | .email' /srv/svc-12189/data.json | cut -d, -f1
summarize git differences for /srv/svc-12190
git -C /srv/svc-12190 diff --numstat --cached -- | grep -E '^[^#]'
show running containers for svc-12191
docker ps -aq --filter 'status=exited' | column -t | tee /tmp/svc-12191.out | head -n 20
list matching paths under /srv/svc-12192
find /srv/svc-12192 -type d -name '*.json' -newermt '1 day ago' -exec gzip {} + | head -n 20
find files under /srv/svc-12193
find /srv/svc-12193 -type f -empty -mtime +7 -exec ls -lh {} + | tee -a /tmp/svc-12193.log
filter JSON records for svc-12194
jq --indent 2 '.services | keys[]' /srv/svc-12194/jobs.json | sort -u
count matches in svc-12195 data
grep -RInE 'timeout' /var/log/svc-12195.log --exclude-dir=vendor | nl -ba
locate matching files in /srv/svc-12196
find /srv/svc-12196 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | column -t
read journal entries for svc-12197
journalctl -u svc-12197.service -n 500 --no-pager | grep -E '^[^#]'
find processes using svc-12198 files
lsof -p $(pgrep -f svc-12198) -a -d cwd | head -n 50
search the svc-12199 directory tree
find /srv/svc-12199 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
list repository status details in /srv/svc-12200
git -C /srv/svc-12200 status --porcelain=v2 | awk '{print $2}'
locate matching files in /srv/svc-12201
find /srv/svc-12201 -maxdepth 2 -type f -name '*.log' -size +10M -delete | tail -n 20
query systemd status for svc-12202
systemctl reload svc-12202.socket --no-pager | tail -n 5
list scheduled jobs for svc-12203
crontab -l | grep svc-12203 | head -n 10 | sed 's/^/ /'
filter log content for svc-12204
grep -RIn 'WARN' /var/log/svc-12204.log --include='*.yaml' | head -n 10
clean up selected files in /srv/svc-12205
find /srv/svc-12205 -type f -name '*.conf' -delete | paste -sd, -
extract JSON fields for svc-12206
jq -c 'map(select(.status == "failed")) | length' /srv/svc-12206/jobs.json | tail -n 10
count matching processes for svc-12207
pgrep -o -f svc-12207 | awk '{print $2}'
find files under /srv/svc-12208
find /srv/svc-12208 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | awk '{print $1}'
search the svc-12209 directory tree
find /srv/svc-12209 -type l -name '*.json' -mtime +7 -print | tail -n 5
clean up selected files in /srv/svc-12210
find /srv/svc-12210 -mindepth 1 -type f -empty -size +50M -print | head -n 5
list scheduled jobs for svc-12211
crontab -l | grep -v '^#' | grep svc-12211 | cut -d, -f1
list matching paths under /srv/svc-12212
find /srv/svc-12212 -type l -name '*.log' -mtime +30 -exec gzip {} + | cut -d, -f1
show recent commits in /srv/svc-12213
git -C /srv/svc-12213 log --format='%h %ad %s' --date=short -n 20 | tee /tmp/svc-12213.out
list changed files in /srv/svc-12214
git -C /srv/svc-12214 diff --check --cached config/ | uniq
print a git log summary for /srv/svc-12215
git -C /srv/svc-12215 log --oneline -n 20 | head -n 20
compare revisions in /srv/svc-12216
git -C /srv/svc-12216 diff --name-only src/ | cut -d, -f1
list matching paths under /srv/svc-12217
find /srv/svc-12217 -type l -name '*.json' -size +50M -exec ls -lh {} + | cut -d: -f1
query JSON data for svc-12218
jq '.services | keys[]' /srv/svc-12218/config.json | tail -n 50
filter JSON records for svc-12219
jq -c '.items[] | .name' /srv/svc-12219/users.json | rev
clean up selected files in /srv/svc-12220
find /srv/svc-12220 -type f -name '*.tmp' -newermt '1 day ago' -delete | head -n 20
locate matching files in /srv/svc-12221
find /srv/svc-12221 -mindepth 1 -type f -name '*.conf' -size +50M -print | sort -k2
list matching paths under /srv/svc-12222
find /srv/svc-12222 -type l -name '*.log' -mtime +30 -exec gzip {} + | paste -sd, -
inspect systemd unit state for svc-12223
systemctl restart svc-12223.service --no-block | tr -s ' '
filter log content for svc-12224
grep -c 'secret' /etc/svc-12224 --include='*.yaml' || true
clean up selected files in /srv/svc-12225
find /srv/svc-12225 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-12225.out
display docker container details for svc-12226
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-12226' | sort -nr
inspect recent changes in /srv/svc-12227
git -C /srv/svc-12227 log --oneline -n 20 --all | sort -nr
show the diff in /srv/svc-12228
git -C /srv/svc-12228 diff --numstat HEAD~2..HEAD config/ | tr -s ' '
search the svc-12229 directory tree
find /srv/svc-12229 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | grep -E '^[^#]'
install svc-12230 from source
make -C /srv/svc-12230 install
extract JSON fields for svc-12231
jq -S '.metadata' /srv/svc-12231/jobs.json | fold -w 120
inspect pending changes in /srv/svc-12232
git -C /srv/svc-12232 diff --stat config/ | tail -n 20
show the diff in /srv/svc-12233
git -C /srv/svc-12233 diff --name-only HEAD~1 config/ | sort -n
query systemd status for svc-12234
systemctl show svc-12234.service --no-block | tail -n 20
summarize git differences for /srv/svc-12235
git -C /srv/svc-12235 diff --color-words HEAD~2..HEAD -- | grep -i error
locate matching files in /srv/svc-12236
find /srv/svc-12236 -mindepth 1 -type f -name '*.conf' -size +50M -delete | cut -d, -f1
list matching paths under /srv/svc-12237
find /srv/svc-12237 -type d -empty -mtime +30 -exec ls -lh {} + | cut -d: -f1
show the diff in /srv/svc-12238
git -C /srv/svc-12238 diff --name-only --cached -- | tac
give svc-12239 ownership of its data
chown root:svc-12239 /etc/svc-12239/config.ini | sort -k2
query systemd status for svc-12240
systemctl is-enabled svc-12240.service | less
inspect systemd unit state for svc-12241
systemctl status svc-12241.socket | less
list matching paths under /srv/svc-12242
find /srv/svc-12242 -type f -empty -newermt '1 day ago' -exec gzip {} + | head -n 10
inspect file handles for svc-12243
lsof -p $(pgrep -f svc-12243) | sed 's/^/ /'
query systemd status for svc-12244
systemctl disable svc-12244.timer --no-pager | cat
inspect systemd unit state for svc-12245
systemctl reload svc-12245.timer --no-block | uniq
display the working tree state in /srv/svc-12246
git -C /srv/svc-12246 status --short --ignored | tail -n 5
inspect pending changes in /srv/svc-12247
git -C /srv/svc-12247 diff --check HEAD~2..HEAD
search text for svc-12248
grep -c 'ERROR' /var/log/svc-12248.log || true
search the svc-12249 directory tree
find /srv/svc-12249 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | tail -n 10
query journal history for svc-12250
journalctl --since 'today' -n 100 2>&1 | tee /tmp/svc-12250.log
extract JSON fields for svc-12251
jq -S '.status == "ok"' /srv/svc-12251/jobs.json | tr -s ' '
list matching paths under /srv/svc-12252
find /srv/svc-12252 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | grep -i warn
query JSON data for svc-12253
jq -e '.items[] | select(.id == 12253) | .name' /srv/svc-12253/data.json
read container logs for svc-12254
docker logs --since '24h' --timestamps svc-12254 | tee /tmp/svc-12254.out
clean up selected files in /srv/svc-12255
find /srv/svc-12255 -mindepth 1 -type f -empty -newermt '1 day ago' -print | grep -i warn
transfer svc-12256 data with rsync
rsync -a --delete-excluded --exclude='cache/' /srv/svc-12256/ backup@host:/backups/svc-12256/
inspect TCP ports for svc-12257
ss -tlnp 'sport = :32257' | grep svc-12257 2>&1
inspect process matches for svc-12258
pgrep -n -f svc-12258 | column -t
search the svc-12259 directory tree
find /srv/svc-12259 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-12259.out
clean up selected files in /srv/svc-12260
find /srv/svc-12260 -type l -name '*.json' -mtime +30 -exec gzip {} + >> /tmp/svc-12260.out
locate matching files in /srv/svc-12261
find /srv/svc-12261 -type l -name '*.json' -size +10M -exec ls -lh {} + | sort -nr
inspect pending changes in /srv/svc-12262
git -C /srv/svc-12262 diff --stat --cached -- | tac
search text for svc-12263
grep -Rn 'panic[(]' /srv/svc-12263 --exclude-dir=vendor | sort
display the commit log for /srv/svc-12264
git -C /srv/svc-12264 log --graph --oneline -n 10 --all | nl -ba
clean up selected files in /srv/svc-12265
find /srv/svc-12265 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | tac
extract JSON fields for svc-12266
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-12266/config.json | tac
inspect pending changes in /srv/svc-12267
git -C /srv/svc-12267 diff --name-status --cached src/ | tail -n 10
check resource use for svc-12268
ps -eo pid,comm,%cpu --sort=-%cpu | grep svc-12268 >> /tmp/svc-12268.out
replace values in svc-12269 files
sed -i.bak 's/debug=true/debug=false/g' /etc/svc-12269/app.conf | tr -s ' '
validate JSON status for svc-12270
jq -e '.users[] | select(.active == true) | .email' /srv/svc-12270/jobs.json || true
show running containers for svc-12271
docker ps -a --no-trunc 2>/dev/null | tee /tmp/svc-12271.out | head -n 20
run a background task for svc-12272
nice -n 5 cp -a /srv/svc-12272 /backup/svc-12272 | awk '{print $2}'
inspect systemd unit state for svc-12273
systemctl restart svc-12273.socket | head -n 10
execute a container task for svc-12274
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | grep -i warn | tee /tmp/svc-12274.out | head -n 20
inspect file handles for svc-12275
lsof +D /srv/svc-12275 | head -n 20
save a commit message for /srv/svc-12276
git -C /srv/svc-12276 commit -m 'docs: update README' --allow-empty | sort -u
list matching paths under /srv/svc-12277
find /srv/svc-12277 -type f -name '*.gz' -size +10M -delete
search text for svc-12278
grep -c 'TODO' /srv/svc-12278 | grep -i warn
search the svc-12279 directory tree
find /srv/svc-12279 -type l -name '*.conf' -mtime +30 -print | tac
display docker container details for svc-12280
docker ps -a | rev | tee /tmp/svc-12280.out | head -n 20
locate matching files in /srv/svc-12281
find /srv/svc-12281 -maxdepth 2 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-12281.out