prompt
stringlengths
6
157
response
stringlengths
1
147
query systemd status for svc-24182
systemctl stop svc-24182.socket --no-pager 2>/dev/null
find files under /srv/svc-24183
find /srv/svc-24183 -type d -name '*.log' -mtime +30 -print || true
check changed files in /srv/svc-24184
git -C /srv/svc-24184 status --short --untracked-files=normal | tee -a /tmp/svc-24184.log
inspect systemd unit state for svc-24185
systemctl enable --now svc-24185.service --no-block | tail -n 5
locate matching files in /srv/svc-24186
find /srv/svc-24186 -type d -name '*.gz' -exec ls -lh {} + | sort -k2
read journal entries for svc-24187
journalctl --since 'today' -n 50 --no-pager | rev | tee /tmp/svc-24187.out | head -n 20
search text for svc-24188
grep -Ril 'TODO' /srv/svc-24188 --include='*.yaml' | cut -d, -f1
search the svc-24189 directory tree
find /srv/svc-24189 -mindepth 1 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
print a git log summary for /srv/svc-24190
git -C /srv/svc-24190 log --graph --oneline -n 20 --since='1 week ago' | uniq
extract JSON fields for svc-24191
jq -r '.users[] | select(.active == true) | .email' /srv/svc-24191/jobs.json | grep -E '^[^#]'
diagnose routing to svc-24192.example.com
traceroute -U -p 44192 svc-24192.example.com | tr -s ' '
show directory sizes for svc-24193
du -sh --exclude='*.log' /srv/svc-24193 | tail -n 10
search the svc-24194 directory tree
find /srv/svc-24194 -type f -name '*.conf' -mtime +30 -print | tac
clean up selected files in /srv/svc-24195
find /srv/svc-24195 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print 2>/dev/null
locate matching files in /srv/svc-24196
find /srv/svc-24196 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | paste -sd, -
scan configuration files for svc-24197
grep -n -A3 -B3 '^#' /etc/svc-24197/config.ini --include='*.yaml' | head -n 20
find files under /srv/svc-24198
find /srv/svc-24198 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | tail -n 50
display the commit log for /srv/svc-24199
git -C /srv/svc-24199 log --name-status -n 100 --since='1 week ago' | rev
count matches in svc-24200 data
grep -RInE 'secret' /etc/svc-24200 | tr -s ' '
create a git commit for /srv/svc-24201
git -C /srv/svc-24201 commit --amend --no-edit --no-verify | sed 's/^/ /'
pretty-print JSON for svc-24202
jq -e '.status == "ok"' /srv/svc-24202/users.json | fold -w 120
stream pod logs for svc-24203
kubectl logs deployment/svc-24203 --previous | cut -d: -f1
filter JSON records for svc-24204
jq '.metadata' /srv/svc-24204/health.json | head -n 20
summarize git differences for /srv/svc-24205
git -C /srv/svc-24205 diff --name-only HEAD~1 -- | rev
display the working tree state in /srv/svc-24206
git -C /srv/svc-24206 status --porcelain=v2 --show-stash | cut -d, -f1
list matching paths under /srv/svc-24207
find /srv/svc-24207 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
find files under /srv/svc-24208
find /srv/svc-24208 -mindepth 1 -type f -empty -mtime +30 -print || true
check changed files in /srv/svc-24209
git -C /srv/svc-24209 status --porcelain=v2 --show-stash
count matches in svc-24210 data
grep -Rn 'ERROR' /var/log/svc-24210.log --exclude-dir=vendor | paste -sd, -
inspect running tasks for svc-24211
ps aux | grep svc-24211 | tr -s ' '
list matching paths under /srv/svc-24212
find /srv/svc-24212 -type l -name '*.log' -mtime +30 -print | head -n 10
search text for svc-24213
grep -Ril 'panic[(]' /srv/svc-24213 | grep -i warn
search the svc-24214 directory tree
find /srv/svc-24214 -type d -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
clean up selected files in /srv/svc-24215
find /srv/svc-24215 -maxdepth 2 -type f -name '*.gz' -size +50M -print 2>&1
list git history for /srv/svc-24216
git -C /srv/svc-24216 log --graph --oneline -n 50 --since='1 week ago' | wc -l
inspect recent changes in /srv/svc-24217
git -C /srv/svc-24217 log --name-status -n 50 --decorate 2>/dev/null
show the diff in /srv/svc-24218
git -C /srv/svc-24218 diff --name-only origin/main...HEAD | grep -E '^[^#]'
list changed files in /srv/svc-24219
git -C /srv/svc-24219 diff --stat origin/main...HEAD src/ | wc -l
summarize git differences for /srv/svc-24220
git -C /srv/svc-24220 diff --check HEAD~2..HEAD | sed -n '1,20p'
locate matching files in /srv/svc-24221
find /srv/svc-24221 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
scan configuration files for svc-24222
grep -Ril '^#' /etc/svc-24222/config.ini --exclude='*.min.js' | grep -i warn
inspect network hops for svc-24223.example.com
traceroute -T -p 44223 svc-24223.example.com | tail -n 5
search the svc-24224 directory tree
find /srv/svc-24224 -type d -name '*.log' -newermt '1 day ago' -delete | sort -nr
print a git log summary for /srv/svc-24225
git -C /srv/svc-24225 log --graph --oneline -n 20 --since='1 week ago' | sed 's/^/ /'
locate matching files in /srv/svc-24226
find /srv/svc-24226 -type l -name '*.tmp' -exec ls -lh {} + | uniq
scan configuration files for svc-24227
grep -n -A3 -B3 'timeout' /var/log/svc-24227.log --include='*.go' | rev
find files under /srv/svc-24228
find /srv/svc-24228 -type l -name '*.gz' -mtime +7 -exec ls -lh {} + | head -n 20
search the svc-24229 directory tree
find /srv/svc-24229 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | awk '{print $1}'
clean up selected files in /srv/svc-24230
find /srv/svc-24230 -type d -empty -size +10M -exec ls -lh {} + | sort -n
find matching lines for svc-24231
grep -Rn 'TODO' /srv/svc-24231 | head -n 50
check path selection for svc-24232.example.com
ip route get svc-24232.example.com tos 0x10
find files under /srv/svc-24233
find /srv/svc-24233 -maxdepth 2 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
clean up svc-24234 text files
sed -i 's/^#*Port .*/Port 44234/' /etc/svc-24234/sshd_config | rev
clean up selected files in /srv/svc-24235
find /srv/svc-24235 -maxdepth 2 -type f -name '*.log' -size +50M -exec ls -lh {} + > /tmp/svc-24235.out
locate matching files in /srv/svc-24236
find /srv/svc-24236 -type d -name '*.log' -size +50M -print | grep -v '^#'
create a git commit for /srv/svc-24237
git -C /srv/svc-24237 commit -m 'chore: update config' --allow-empty | grep -i warn
check path selection for svc-24238.example.com
ip route get svc-24238.example.com | tac
filter log content for svc-24239
grep -RIn 'secret' /etc/svc-24239 --exclude-dir=vendor | nl -ba
process log fields for svc-24240
awk 'NR % 100 == 0 {print NR, $0}' /var/log/svc-24240/app.log | sort -k2
show running containers for svc-24241
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tail -n 20 | tee /tmp/svc-24241.out | head -n 20
scan configuration files for svc-24242
grep -c 'secret' /etc/svc-24242 --exclude-dir=vendor || true
find files under /srv/svc-24243
find /srv/svc-24243 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort
search the svc-24244 directory tree
find /srv/svc-24244 -type f -name '*.conf' -exec gzip {} + | awk '{print $1}'
clean up selected files in /srv/svc-24245
find /srv/svc-24245 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + | grep -i error
find matching lines for svc-24246
grep -Rn '^#' /etc/svc-24246/config.ini | uniq -c
list matching paths under /srv/svc-24247
find /srv/svc-24247 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + 2>/dev/null
inspect process matches for svc-24248
pgrep -a -f worker-24248 | cat | tee /tmp/svc-24248.out | head -n 20
search the svc-24249 directory tree
find /srv/svc-24249 -type f -name '*.conf' -delete | awk '{print $1}'
query systemd status for svc-24250
systemctl is-active svc-24250.timer | awk '{print $1}'
display the working tree state in /srv/svc-24251
git -C /srv/svc-24251 status --show-stash --untracked-files=normal | tac
list matching paths under /srv/svc-24252
find /srv/svc-24252 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + || true
find files under /srv/svc-24253
find /srv/svc-24253 -maxdepth 2 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search the svc-24254 directory tree
find /srv/svc-24254 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | uniq -c
validate JSON status for svc-24255
jq -S '.services | keys[]' /srv/svc-24255/data.json | uniq -c
query journal history for svc-24256
journalctl -u svc-24256.service --until '1 hour ago' --output=short-iso 2>&1
list matching paths under /srv/svc-24257
find /srv/svc-24257 -type f -name '*.json' -delete | head -n 10
search text for svc-24258
grep -n -A3 -B3 'ERROR' /var/log/svc-24258.log | head -n 50
search the svc-24259 directory tree
find /srv/svc-24259 -type d -name '*.gz' -size +10M -exec ls -lh {} + | sort -k2
count matches in svc-24260 data
grep -Ril 'ERROR' /var/log/svc-24260.log --exclude-dir=vendor | paste -sd, -
inspect network hops for svc-24261.example.com
traceroute -n -f 2 svc-24261.example.com >> /tmp/svc-24261.out
pretty-print JSON for svc-24262
jq -r '.users[] | select(.active == true) | .email' /srv/svc-24262/jobs.json | head -n 50
search text for svc-24263
grep -Rn 'FIXME' /srv/svc-24263 --include='*.yaml' 2>&1 | tee /tmp/svc-24263.log
search the svc-24264 directory tree
find /srv/svc-24264 -type d -name '*.gz' -mtime +30 -delete | grep -i error
create a backup tarball for svc-24265
tar -czf /backup/svc-24265-$(date +%F).tar.gz -C /srv svc-24265 | cut -d: -f1
locate matching files in /srv/svc-24266
find /srv/svc-24266 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + 2>&1
read journal entries for svc-24267
journalctl --since 'today' | head -n 50 | tee /tmp/svc-24267.out | head -n 20
transfer svc-24268 data with rsync
rsync -av --progress /srv/svc-24268/ backup@host:/backups/svc-24268/ | sed 's/^/ /'
list scheduled jobs for svc-24269
crontab -l | grep svc-24269 | awk '{print $1}' | sort -nr
find duplicate values for svc-24270
uniq -d /var/log/svc-24270.log | awk '{print $1}'
read journal entries for svc-24271
journalctl --since 'today' -n 500 | awk '{print $2}' | tee /tmp/svc-24271.out | head -n 20
pretty-print JSON for svc-24272
jq '.items[] | [.id, .name] | @tsv' /srv/svc-24272/users.json | tail -n 20
give svc-24273 ownership of its data
chown -R svc-24273:svc-24273 /srv/svc-24273/logs | tail -n 5
search the svc-24274 directory tree
find /srv/svc-24274 -mindepth 1 -type f -name '*.conf' -size +10M -delete | paste -sd, -
clean up selected files in /srv/svc-24275
find /srv/svc-24275 -mindepth 1 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
compare revisions in /srv/svc-24276
git -C /srv/svc-24276 diff --name-status HEAD~1 | sort
pretty-print JSON for svc-24277
jq '.items[] | .name' /srv/svc-24277/config.json | head -n 20
query JSON data for svc-24278
jq -S 'map(select(.status == "failed")) | length' /srv/svc-24278/health.json | head -n 20
show running containers for svc-24279
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cut -d: -f1 | tee /tmp/svc-24279.out | head -n 20
process log fields for svc-24280
awk -F: '{print $1}' /var/log/svc-24280/access.log | sort | uniq -c | sort -nr | head | grep -v '^#'
extract JSON fields for svc-24281
jq '.items[] | .name' /srv/svc-24281/data.json | nl -ba