prompt
stringlengths
6
157
response
stringlengths
1
147
inspect recent changes in /srv/svc-01182
git -C /srv/svc-01182 log --format='%h %ad %s' --date=short -n 100 || true
find files under /srv/svc-01183
find /srv/svc-01183 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
check changed files in /srv/svc-01184
git -C /srv/svc-01184 status --long --branch --untracked-files=all | sed -n '1,20p'
clean up selected files in /srv/svc-01185
find /srv/svc-01185 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -delete >> /tmp/svc-01185.out
summarize svc-01186 storage use
du -ch /srv/svc-01186/data /srv/svc-01186/logs 2>&1 | tee /tmp/svc-01186.log
pretty-print JSON for svc-01187
jq -S 'map(select(.status == "failed")) | length' /srv/svc-01187/users.json 2>&1
show recent commits in /srv/svc-01188
git -C /srv/svc-01188 log --name-status -n 20 --author='deploy' | awk '{print $1}'
list changed files in /srv/svc-01189
git -C /srv/svc-01189 diff --color-words HEAD~2..HEAD -- | cut -d: -f1
validate JSON status for svc-01190
jq -c '.services | keys[]' /srv/svc-01190/data.json | tail -n 20
locate matching files in /srv/svc-01191
find /srv/svc-01191 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
query systemd status for svc-01192
systemctl restart svc-01192.service --no-block | grep -i error
find files under /srv/svc-01193
find /srv/svc-01193 -type d -name '*.log' -newermt '1 day ago' -delete | grep -E '^[^#]'
process log fields for svc-01194
awk '{print $1}' /var/log/svc-01194/access.log | sort | uniq -c | sort -nr | head | tr -s ' '
clean up selected files in /srv/svc-01195
find /srv/svc-01195 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete | tail -n 10
query systemd status for svc-01196
systemctl is-enabled svc-01196.service --no-block | sed -n '1,20p'
show running containers for svc-01197
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | uniq -c | tee /tmp/svc-01197.out | head -n 20
query JSON data for svc-01198
jq 'map(select(.status == "failed")) | length' /srv/svc-01198/users.json | head -n 10
start a disposable docker container for svc-01199
docker run --rm -it -v /srv/svc-01199/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | cat
list repository status details in /srv/svc-01200
git -C /srv/svc-01200 status --show-stash --untracked-files=normal 2>&1
read journal entries for svc-01201
journalctl -u svc-01201.service --since '24 hours ago' -n 100 -f | grep -v '^#'
inspect branch and file status for /srv/svc-01202
git -C /srv/svc-01202 status --branch --untracked-files=all | grep -v '^#'
read journal entries for svc-01203
journalctl --since '1 hour ago' -u svc-01203.service -n 100 --no-pager | grep -v '^#'
display docker container details for svc-01204
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | sed 's/^/ /' | tee /tmp/svc-01204.out | head -n 20
print a git log summary for /srv/svc-01205
git -C /srv/svc-01205 log --oneline -n 50 --grep='fix' | head -n 20
list git history for /srv/svc-01206
git -C /srv/svc-01206 log --stat -n 100 --all | head -n 5
display recent container output for svc-01207
docker logs --tail 100 --timestamps svc-01207 | uniq
search text for svc-01208
grep -RIn 'secret' /etc/svc-01208 --include='*.go' | head -n 10
filter JSON records for svc-01209
jq -c '.users[] | select(.active == true) | .email' /srv/svc-01209/config.json | tr -s ' '
query systemd status for svc-01210
systemctl is-active svc-01210.timer --no-pager | uniq
locate matching files in /srv/svc-01211
find /srv/svc-01211 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | tee /tmp/svc-01211.out
list matching paths under /srv/svc-01212
find /srv/svc-01212 -type f -name '*.conf' -exec gzip {} + 2>/dev/null
show recent commits in /srv/svc-01213
git -C /srv/svc-01213 log --stat -n 10 --grep='fix' | wc -l
filter JSON records for svc-01214
jq 'map(select(.status == "failed")) | length' /srv/svc-01214/data.json | sort -k2
stream pod logs for svc-01215
kubectl logs deployment/svc-01215 --previous | grep -E '^[^#]'
display the working tree state in /srv/svc-01216
git -C /srv/svc-01216 status --porcelain=v1 --show-stash --untracked-files=all | column -t
scan configuration files for svc-01217
grep -Rn 'secret' /etc/svc-01217 --exclude='*.min.js' | cut -d: -f1
find files under /srv/svc-01218
find /srv/svc-01218 -type d -name '*.conf' -newermt '1 day ago' -print | sort
check changed files in /srv/svc-01219
git -C /srv/svc-01219 status --branch --untracked-files=all | cut -d: -f1
clean up selected files in /srv/svc-01220
find /srv/svc-01220 -mindepth 1 -type f -empty -exec ls -lh {} + | column -t
find matching lines for svc-01221
grep -RInE 'timeout' /var/log/svc-01221.log --exclude-dir=vendor | fold -w 120
list matching paths under /srv/svc-01222
find /srv/svc-01222 -type l -name '*.json' -size +10M -exec ls -lh {} + | tee /tmp/svc-01222.out
search text for svc-01223
grep -RIn 'secret' /etc/svc-01223 | awk '{print $1}'
check changed files in /srv/svc-01224
git -C /srv/svc-01224 status --branch --untracked-files=all | tail -n 50
print a git log summary for /srv/svc-01225
git -C /srv/svc-01225 log --stat -n 100 --author='deploy' 2>&1 | tee /tmp/svc-01225.log
compare revisions in /srv/svc-01226
git -C /srv/svc-01226 diff --name-status HEAD~1 src/ | sed 's/^/ /'
replace values in svc-01227 files
sed 's/^#*Port .*/Port 21227/' /etc/svc-01227/sshd_config | sort -k2
find files under /srv/svc-01228
find /srv/svc-01228 -type f -empty -delete | paste -sd, -
search the svc-01229 directory tree
find /srv/svc-01229 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + | cut -d, -f1
clean up selected files in /srv/svc-01230
find /srv/svc-01230 -mindepth 1 -type f -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 50
extract JSON fields for svc-01231
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-01231/health.json | less
pretty-print JSON for svc-01232
jq --indent 2 '.services | keys[]' /srv/svc-01232/health.json | fold -w 120
search text for svc-01233
grep -Rn '^#' /etc/svc-01233/config.ini --include='*.go' | cut -d: -f1
search the svc-01234 directory tree
find /srv/svc-01234 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-01234.out
print a git log summary for /srv/svc-01235
git -C /srv/svc-01235 log --oneline -n 100 --decorate | sort
report free space for svc-01236
df -h /srv/svc-01236 | tac
inspect systemd unit state for svc-01237
systemctl is-enabled svc-01237.service | grep -v '^#'
find files under /srv/svc-01238
find /srv/svc-01238 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
list changed files in /srv/svc-01239
git -C /srv/svc-01239 diff --name-only origin/main...HEAD | grep -i warn
clean up selected files in /srv/svc-01240
find /srv/svc-01240 -type l -name '*.json' -size +50M -exec gzip {} +
extract JSON fields for svc-01241
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-01241/jobs.json | grep -v '^#'
scan configuration files for svc-01242
grep -n -A3 -B3 'WARN' /var/log/svc-01242.log --include='*.go' | awk '{print $1}'
list scheduled jobs for svc-01243
crontab -l | grep -v '^#' | grep svc-01243 | less
filter JSON records for svc-01244
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-01244/jobs.json | column -t
clean up selected files in /srv/svc-01245
find /srv/svc-01245 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
find matching lines for svc-01246
grep -RInE 'ERROR' /var/log/svc-01246.log --exclude-dir=vendor | tail -n 5
inspect file handles for svc-01247
lsof -i tcp:21247 -P -n | grep svc-01247 | head -n 50
query systemd status for svc-01248
systemctl stop svc-01248.service --no-pager | fold -w 120
list changed files in /srv/svc-01249
git -C /srv/svc-01249 diff --check origin/main...HEAD -- | sort -nr
save a commit message for /srv/svc-01250
git -C /srv/svc-01250 commit -m 'fix: handle timeout' --no-verify | grep -E '^[^#]'
locate matching files in /srv/svc-01251
find /srv/svc-01251 -type l -name '*.json' -print | grep -E '^[^#]'
list matching paths under /srv/svc-01252
find /srv/svc-01252 -type f -name '*.log' -size +50M -exec gzip {} + | tee -a /tmp/svc-01252.log
send a signal to svc-01253 workers
pkill -INT -f svc-01253 | grep -i error
filter log content for svc-01254
grep -v 'timeout' /var/log/svc-01254.log --exclude='*.min.js' | cat
show running containers for svc-01255
docker ps --latest --filter 'status=exited' | sed 's/^/ /' | tee /tmp/svc-01255.out | head -n 20
display the working tree state in /srv/svc-01256
git -C /srv/svc-01256 status --porcelain=v2 --untracked-files=normal | sed -n '1,20p'
pretty-print JSON for svc-01257
jq -r '.metadata' /srv/svc-01257/users.json | sed -n '1,20p'
show recent commits in /srv/svc-01258
git -C /srv/svc-01258 log --stat -n 100 --grep='fix' | tail -n 10
start a disposable docker container for svc-01259
docker run --rm -v /srv/svc-01259/logs:/logs:ro busybox:1.36 df -h | wc -l
clean up selected files in /srv/svc-01260
find /srv/svc-01260 -mindepth 1 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
inspect TCP ports for svc-01261
ss -tuln | grep svc-01261 | sort -k2
scan configuration files for svc-01262
grep -RInE 'timeout' /var/log/svc-01262.log --include='*.py' | tail -n 10
read journal entries for svc-01263
journalctl -u svc-01263.service --since '24 hours ago' -n 50 -f || true
read container logs for svc-01264
docker logs --tail 50 svc-01264 | grep -i error | cut -d: -f1
summarize git differences for /srv/svc-01265
git -C /srv/svc-01265 diff --name-status HEAD~1..HEAD 2>&1 | tee /tmp/svc-01265.log
query journal history for svc-01266
journalctl -u svc-01266.service --since '1 hour ago' | cut -d, -f1
list matching paths under /srv/svc-01267
find /srv/svc-01267 -type l -name '*.json' -mtime +7 -print | grep -i warn
display docker container details for svc-01268
docker ps -a --no-trunc --format '{{.Names}}' | grep -E '^[^#]' | tee /tmp/svc-01268.out | head -n 20
search the svc-01269 directory tree
find /srv/svc-01269 -type f -name '*.tmp' -mtime +30 -delete | grep -i error
query systemd status for svc-01270
systemctl stop svc-01270.timer --no-block | column -t
query DNS records for svc-01271.example.com
dig +short svc-01271.example.com NS 2>&1
display docker container details for svc-01272
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | sed 's/^/ /' | tee /tmp/svc-01272.out | head -n 20
find files under /srv/svc-01273
find /srv/svc-01273 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-01273.log
search the svc-01274 directory tree
find /srv/svc-01274 -type l -name '*.json' -size +50M -exec gzip {} + | fold -w 120
inspect TCP ports for svc-01275
ss -tulpn 'sport = :21275' | grep svc-01275 | sort -u
extract JSON fields for svc-01276
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-01276/health.json | grep -i error
download svc-01277 data with curl
curl -fsS http://127.0.0.1:21277/svc-01277/health | grep -E '^[^#]'
find files under /srv/svc-01278
find /srv/svc-01278 -type l -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10
search the svc-01279 directory tree
find /srv/svc-01279 -type d -name '*.conf' -mtime +30 -exec ls -lh {} + | fold -w 120
diagnose routing to svc-01280.example.com
traceroute -n -m 20 svc-01280.example.com | fold -w 120
locate matching files in /srv/svc-01281
find /srv/svc-01281 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | tee -a /tmp/svc-01281.log